aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_ntor_cl.c
diff options
context:
space:
mode:
authorcypherpunks <cypherpunks@torproject.org>2015-11-16 13:21:56 +0100
committerNick Mathewson <nickm@torproject.org>2015-12-08 08:28:27 -0500
commit4ae555facef43555452cae42ba658de4f87cfa7b (patch)
tree340354562c4016e59e92f99f8bc27d069161d49b /src/test/test_ntor_cl.c
parent79fdfd52313cfb4032d70cf668da8060220a580a (diff)
downloadtor-4ae555facef43555452cae42ba658de4f87cfa7b.tar.gz
tor-4ae555facef43555452cae42ba658de4f87cfa7b.zip
Fix memory leak in ntor test
Diffstat (limited to 'src/test/test_ntor_cl.c')
-rw-r--r--src/test/test_ntor_cl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/test_ntor_cl.c b/src/test/test_ntor_cl.c
index bfbf13a476..915a5d0a7c 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;
}