]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Fix a leak in test_buffer_allocation_tracking
authorNick Mathewson <nickm@torproject.org>
Sat, 26 Apr 2014 04:18:15 +0000 (00:18 -0400)
committerNick Mathewson <nickm@torproject.org>
Sat, 26 Apr 2014 04:18:15 +0000 (00:18 -0400)
src/test/test_buffers.c

index 6dd771593619a65d3af25afc5006bec1a1d94898..1253976917eaddf4c34d9c6178a64f24c3a97e52 100644 (file)
@@ -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