Browse Source

Merge branch 'maint-0.3.2'

Nick Mathewson 6 years ago
parent
commit
8ff60b5288
2 changed files with 6 additions and 1 deletions
  1. 5 0
      changes/bug24279
  2. 1 1
      configure.ac

+ 5 - 0
changes/bug24279

@@ -0,0 +1,5 @@
+  o Minor bugfixes (compilation, hardening):
+    - Fix a memory leak warning in one of the libevent-related
+      configuration tests that could occur when manually specifying
+      -fsanitize=address.  Fixes bug 24279; bugfix on 0.3.0.2-alpha.
+      Found and patched by Alex Xu.

+ 1 - 1
configure.ac

@@ -625,7 +625,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.