[tor/release-0.3.2] Fix configure libevent memory leak

15 Nov
2017
15 Nov
'17
8:11 p.m.
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.
2743
Age (days ago)
2743
Last active (days ago)
0 comments
1 participants
participants (1)
-
nickm@torproject.org