commit b7854e0104286c372abfd0cb55db8ffeb035bbe8
Author: David Goulet <[email protected]>
Date:   Wed Oct 1 16:35:23 2014 -0400

    Test: add missing connection destroy
    
    Signed-off-by: David Goulet <[email protected]>
---
 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
[email protected]
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits

Reply via email to