Fix configure libevent memory leak

Breaks build with externally-specified hardening flags.
This commit is contained in:
Alex Xu (Hello71) 2017-10-29 13:14:58 +00:00 committed by Nick Mathewson
parent 50fbede459
commit 74b7bfbe47

View File

@ -527,7 +527,7 @@ struct event_base *event_base_new(void);],
#ifdef _WIN32
{WSADATA d; WSAStartup(0x101,&d); }
#endif
event_base_new();
event_base_free(event_base_new());
], [--with-libevent-dir], [/opt/libevent])
dnl Determine the incantation needed to link libevent.