[tor-commits] [torsocks/master] Test: add missing connection destroy
dgoulet at torproject.org
dgoulet at torproject.org
Wed Oct 1 20:36:36 UTC 2014
commit b7854e0104286c372abfd0cb55db8ffeb035bbe8
Author: David Goulet <dgoulet at ev0ke.net>
Date: Wed Oct 1 16:35:23 2014 -0400
Test: add missing connection destroy
Signed-off-by: David Goulet <dgoulet at ev0ke.net>
---
tests/unit/test_socks5.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/unit/test_socks5.c b/tests/unit/test_socks5.c
index b3ed081..4ef92f7 100644
--- a/tests/unit/test_socks5.c
+++ b/tests/unit/test_socks5.c
@@ -668,6 +668,7 @@ static void test_socks5_send_connect_request(void)
ok(ret == -EINVAL, "socks5 send connect request returns error for "
"unkown connection domain");
+ connection_destroy(conn_stub);
}
static void test_socks5_send_connect_request_failure(void)
More information about the tor-commits
mailing list