commit c48068ece3002aeefb3ec959e1fe4817815f1129
parent f2aeaaf71d2074019a7f50185f78a36dfb18b9e5
Author: Nick Mathewson <nickm@torproject.org>
Date: Tue, 7 Jan 2020 08:22:02 -0500
test_helpers: add a missing free for CID 1457527.
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git 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;
}