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

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



commit 4ae555facef43555452cae42ba658de4f87cfa7b
Author: cypherpunks <cypherpunks@xxxxxxxxxxxxxx>
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;
 }
 



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