summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/test/test_policy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_policy.c b/src/test/test_policy.c
index 082f930551..b7d89a1445 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