[tor-commits] [tor/master] Fix a leak in test_buffer_allocation_tracking

nickm at torproject.org nickm at torproject.org
Thu May 1 16:31:44 UTC 2014


commit ffffd860c94ea36970a0c60326ab7a8dc7bb9bda
Author: Nick Mathewson <nickm at torproject.org>
Date:   Sat Apr 26 00:18:15 2014 -0400

    Fix a leak in test_buffer_allocation_tracking
---
 src/test/test_buffers.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/src/test/test_buffers.c b/src/test/test_buffers.c
index 6dd7715..1253976 100644
--- a/src/test/test_buffers.c
+++ b/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





More information about the tor-commits mailing list