commit 74b7bfbe471c953269ba8e5f4d808db3c0a9c8a6 Author: Alex Xu (Hello71) alex_y_xu@yahoo.ca Date: Sun Oct 29 13:14:58 2017 +0000
Fix configure libevent memory leak
Breaks build with externally-specified hardening flags. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac index 315bd2df3..8f56b8e80 100644 --- a/configure.ac +++ b/configure.ac @@ -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.