From: Nick Mathewson Date: Tue, 7 Jan 2020 13:22:02 +0000 (-0500) Subject: test_helpers: add a missing free for CID 1457527. X-Git-Tag: tor-0.4.3.1-alpha~48 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c48068ece3002aeefb3ec959e1fe4817815f1129;p=thirdparty%2Ftor.git test_helpers: add a missing free for CID 1457527. --- 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; }