Explorar o código

Fix memory leak in ntor test

cypherpunks %!s(int64=10) %!d(string=hai) anos
pai
achega
4ae555face
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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;
 }