]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Fix memleak in test_getinfo_helper_onion.
authorNick Mathewson <nickm@torproject.org>
Fri, 17 Feb 2017 15:07:52 +0000 (10:07 -0500)
committerNick Mathewson <nickm@torproject.org>
Fri, 17 Feb 2017 15:08:31 +0000 (10:08 -0500)
Fix on fc58c37e334fec71a20. Not in any released tor

src/test/test_controller.c

index fc63d837f3ab72758ae61fddb727d08775ab8f47..206315e2898e8d398b63713046504cedd76b5603 100644 (file)
@@ -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