commit 8ce70fcbf35630889e6acc64388476ea0c859a1e Author: cypherpunks cypherpunks@torproject.org Date: Thu Nov 26 19:03:44 2015 +0100
Fix memory leak in policies test --- src/test/test_policy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/test/test_policy.c b/src/test/test_policy.c index 082f930..b7d89a1 100644 --- a/src/test/test_policy.c +++ b/src/test/test_policy.c @@ -1033,7 +1033,7 @@ test_policies_getinfo_helper_policies(void *arg) tor_free(answer); UNMOCK(get_options); UNMOCK(router_get_my_routerinfo); - smartlist_free(mock_my_routerinfo.exit_policy); + addr_policy_list_free(mock_my_routerinfo.exit_policy); }
#undef DEFAULT_POLICY_STRING