aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_helpers.c
diff options
context:
space:
mode:
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;
}