aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_helpers.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2020-01-07 08:22:02 -0500
committerNick Mathewson <nickm@torproject.org>2020-01-07 08:22:02 -0500
commitc48068ece3002aeefb3ec959e1fe4817815f1129 (patch)
tree686c366f8f9e333e4cb3e17d31bda24d3a422aae /src/test/test_helpers.c
parentf2aeaaf71d2074019a7f50185f78a36dfb18b9e5 (diff)
downloadtor-c48068ece3002aeefb3ec959e1fe4817815f1129.tar.gz
tor-c48068ece3002aeefb3ec959e1fe4817815f1129.zip
test_helpers: add a missing free for CID 1457527.
Diffstat (limited to 'src/test/test_helpers.c')
-rw-r--r--src/test/test_helpers.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/test_helpers.c b/src/test/test_helpers.c
index 31bf1fcc2a..480a42f97a 100644
--- a/src/test/test_helpers.c
+++ b/src/test/test_helpers.c
@@ -306,6 +306,7 @@ test_conn_get_proxy_or_connection(unsigned int proxy_type)
UNMOCK(connection_write_to_buf_impl_);
UNMOCK(connection_or_change_state);
UNMOCK(tor_close_socket);
+ connection_free_(TO_CONN(conn));
return NULL;
}