Sfoglia il codice sorgente

Fix memory leak in ntor test

cypherpunks 10 anni fa
parent
commit
4ae555face
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  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;
 }