Przeglądaj źródła

Fix memory leak in ntor test

cypherpunks 10 lat temu
rodzic
commit
4ae555face
1 zmienionych plików z 1 dodań i 0 usunięć
  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;
 }