aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2014-04-26 00:18:15 -0400
committerNick Mathewson <nickm@torproject.org>2014-04-26 00:18:15 -0400
commitffffd860c94ea36970a0c60326ab7a8dc7bb9bda (patch)
treea6cfe8b548ad04a857dd0edf7a0800c069e1532c
parent1117889f4a1ef7e61c2663258c94f505407d63ee (diff)
downloadtor-ffffd860c94ea36970a0c60326ab7a8dc7bb9bda.tar
tor-ffffd860c94ea36970a0c60326ab7a8dc7bb9bda.tar.gz
Fix a leak in test_buffer_allocation_tracking
-rw-r--r--src/test/test_buffers.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/test_buffers.c b/src/test/test_buffers.c
index 6dd771593..125397691 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