aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_relay.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2014-12-22 11:13:01 -0500
committerNick Mathewson <nickm@torproject.org>2014-12-22 11:13:01 -0500
commit13f26f41e469ae2fa5d2249c532f7f515195a2a0 (patch)
treec59de8f13db8b2268cc2d1daad86b57ecd2926d6 /src/test/test_relay.c
parentec07c3c5c5c4afe19816b1d5363d9b9acd4c484c (diff)
downloadtor-13f26f41e469ae2fa5d2249c532f7f515195a2a0.tar.gz
tor-13f26f41e469ae2fa5d2249c532f7f515195a2a0.zip
Fix some coverity issues in the unit tests
Diffstat (limited to 'src/test/test_relay.c')
-rw-r--r--src/test/test_relay.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/test_relay.c b/src/test/test_relay.c
index 6907597705..38d1d96703 100644
--- a/src/test/test_relay.c
+++ b/src/test/test_relay.c
@@ -114,6 +114,7 @@ test_relay_append_cell_to_circuit_queue(void *arg)
nchan = pchan = NULL;
done:
+ tor_free(cell);
tor_free(orcirc);
if (nchan && nchan->cmux) circuitmux_free(nchan->cmux);
tor_free(nchan);