diff options
author | Azat Khuzhin <azat@libevent.org> | 2021-08-12 01:40:27 +0300 |
---|---|---|
committer | Azat Khuzhin <azat@libevent.org> | 2021-08-12 01:40:46 +0300 |
commit | 2b92b830a742998b75aca5ff123faed562932033 (patch) | |
tree | 21d0d08fd8e57f8553b32b557d320da953deb684 | |
parent | 86292628e30bea51c0de0136a00837ca2bc8447c (diff) | |
download | libevent-2b92b830a742998b75aca5ff123faed562932033.tar.gz |
http: fix building under windows (guard with _WIN32 for unixsocket free)
Reported-by: @kaend
-rw-r--r-- | http.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1356,8 +1356,10 @@ evhttp_connection_free(struct evhttp_connection *evcon) if (evcon->address != NULL) mm_free(evcon->address); +#ifndef _WIN32 if (evcon->unixsocket != NULL) mm_free(evcon->unixsocket); +#endif mm_free(evcon); } |