[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/master] Fix memleak in test_getinfo_helper_onion.



commit d3f0f10efd46ba7bdbd81e15de03e43ec3d6283b
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date:   Fri Feb 17 10:07:52 2017 -0500

    Fix memleak in test_getinfo_helper_onion.
    
    Fix on fc58c37e334fec71a20. Not in any released tor
---
 src/test/test_controller.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/test/test_controller.c b/src/test/test_controller.c
index fc63d83..206315e 100644
--- a/src/test/test_controller.c
+++ b/src/test/test_controller.c
@@ -144,6 +144,7 @@ test_getinfo_helper_onion(void *arg)
  done:
   tor_free(answer);
   tor_free(service_id);
+  smartlist_free(dummy.ephemeral_onion_services);
 }
 
 static void

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits