[tor-commits] [tor/master] Fix a memory leak in the backtrace test

nickm at torproject.org nickm at torproject.org
Fri Dec 18 18:10:19 UTC 2015


commit 4c55ccbe95a8a1c68d6f9fefb9c5035f2566a478
Author: cypherpunks <cypherpunks at torproject.org>
Date:   Fri Dec 18 12:31:14 2015 +0100

    Fix a memory leak in the backtrace test
---
 src/test/test_bt_cl.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/src/test/test_bt_cl.c b/src/test/test_bt_cl.c
index dabaee6..c43143f 100644
--- a/src/test/test_bt_cl.c
+++ b/src/test/test_bt_cl.c
@@ -119,6 +119,7 @@ main(int argc, char **argv)
   printf("%d\n", we_weave(2));
 
   clean_up_backtrace_handler();
+  logs_free_all();
 
   return 0;
 }





More information about the tor-commits mailing list