Explorar el Código

Fix memory leak in ntor test

cypherpunks hace 10 años
padre
commit
4ae555face
Se han modificado 1 ficheros con 1 adiciones y 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;
 }