[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [torsocks/master] Test: add missing connection destroy



commit b7854e0104286c372abfd0cb55db8ffeb035bbe8
Author: David Goulet <dgoulet@xxxxxxxxx>
Date:   Wed Oct 1 16:35:23 2014 -0400

    Test: add missing connection destroy
    
    Signed-off-by: David Goulet <dgoulet@xxxxxxxxx>
---
 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)

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits