Add missing check to test_address_get_if_addrs_ifaddrs. Bug 18378

This commit is contained in:
Nick Mathewson 2016-02-23 07:16:51 -05:00
parent cda2381789
commit b3534dfc5e

View File

@ -297,7 +297,9 @@ test_address_get_if_addrs_ifaddrs(void *arg)
}
done:
if (results) {
SMARTLIST_FOREACH(results, tor_addr_t *, t, tor_free(t));
}
smartlist_free(results);
return;
}