Explorar el Código

Fix a leak in test_buffer_allocation_tracking

Nick Mathewson hace 11 años
padre
commit
ffffd860c9
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      src/test/test_buffers.c

+ 1 - 0
src/test/test_buffers.c

@@ -513,6 +513,7 @@ test_buffer_allocation_tracking(void *arg)
   buf_free(buf1);
   buf_free(buf2);
   buf_shrink_freelists(1);
+  tor_free(junk);
 }
 
 static void