[tor-commits] [tor/master] Fix memory leak in ntor test

nickm at torproject.org nickm at torproject.org
Tue Dec 8 13:28:32 UTC 2015


commit 4ae555facef43555452cae42ba658de4f87cfa7b
Author: cypherpunks <cypherpunks at torproject.org>
Date:   Mon Nov 16 13:21:56 2015 +0100

    Fix memory leak in ntor test
---
 src/test/test_ntor_cl.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/src/test/test_ntor_cl.c b/src/test/test_ntor_cl.c
index bfbf13a..915a5d0 100644
--- a/src/test/test_ntor_cl.c
+++ b/src/test/test_ntor_cl.c
@@ -106,6 +106,7 @@ server1(int argc, char **argv)
  done:
   tor_free(keys);
   tor_free(hexkeys);
+  dimap_free(keymap, NULL);
   return result;
 }
 





More information about the tor-commits mailing list