[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor/master] test_helpers: add a missing free for CID 1457527.
commit c48068ece3002aeefb3ec959e1fe4817815f1129
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date: Tue Jan 7 08:22:02 2020 -0500
test_helpers: add a missing free for CID 1457527.
---
src/test/test_helpers.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/test/test_helpers.c b/src/test/test_helpers.c
index 31bf1fcc2..480a42f97 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;
}
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits