Ver código fonte

Fix a leak in test_buffer_allocation_tracking

Nick Mathewson 10 anos atrás
pai
commit
ffffd860c9
1 arquivos alterados com 1 adições e 0 exclusões
  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