aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_dns.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/test_dns.c')
-rw-r--r--src/test/test_dns.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/test_dns.c b/src/test/test_dns.c
index b40a4825a6..b781d6da53 100644
--- a/src/test/test_dns.c
+++ b/src/test/test_dns.c
@@ -579,6 +579,7 @@ NS(test_main)(void *arg)
tor_free(TO_CONN(exitconn)->address);
tor_free(cache_entry->pending_connections);
tor_free(cache_entry);
+ tor_free(exitconn);
return;
}
@@ -739,6 +740,7 @@ NS(test_main)(void *arg)
tor_free(TO_CONN(exitconn)->address);
tor_free(cache_entry->pending_connections);
tor_free(cache_entry);
+ tor_free(exitconn);
return;
}