]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Fix memory leak in ntor test
authorcypherpunks <cypherpunks@torproject.org>
Mon, 16 Nov 2015 12:21:56 +0000 (13:21 +0100)
committerNick Mathewson <nickm@torproject.org>
Tue, 8 Dec 2015 13:28:27 +0000 (08:28 -0500)
src/test/test_ntor_cl.c

index bfbf13a47663afe73806e7b791f46ade6d1adc12..915a5d0a7cfe65f07696accc70f4b81811ffb5d4 100644 (file)
@@ -106,6 +106,7 @@ server1(int argc, char **argv)
  done:
   tor_free(keys);
   tor_free(hexkeys);
+  dimap_free(keymap, NULL);
   return result;
 }