diff options
-rw-r--r-- | src/test/test_address.c | 2 | ||||
-rw-r--r-- | src/test/test_config.c | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/test/test_address.c b/src/test/test_address.c index f16f18e52e..f98cc12b62 100644 --- a/src/test/test_address.c +++ b/src/test/test_address.c @@ -228,7 +228,7 @@ test_address_get_if_addrs_ifaddrs(void *arg) done: SMARTLIST_FOREACH(results, tor_addr_t *, t, tor_free(t)); - tor_free(results); + smartlist_free(results); return; } diff --git a/src/test/test_config.c b/src/test/test_config.c index b1f5017b78..b63b78e386 100644 --- a/src/test/test_config.c +++ b/src/test/test_config.c @@ -176,6 +176,7 @@ test_config_addressmap(void *arg) done: config_free_lines(get_options_mutable()->AddressMap); get_options_mutable()->AddressMap = NULL; + addressmap_free_all(); } static int |