Browse Source

Fix memory leak in ntor test

cypherpunks 9 years ago
parent
commit
4ae555face
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/test/test_ntor_cl.c

+ 1 - 0
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;
 }