Commit 74b7bfbe authored by Alex Xu's avatar Alex Xu Committed by Nick Mathewson
Browse files

Fix configure libevent memory leak

Breaks build with externally-specified hardening flags.
parent 50fbede4
......@@ -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.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment