mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
fix memory leak in dump_exit_policy_to_string tests
This commit is contained in:
parent
63426f79cb
commit
167536a112
@ -404,6 +404,7 @@ test_dump_exit_policy_to_string(void *arg)
|
||||
|
||||
test_streq("accept *:*\nreject *:25\nreject 8.8.8.8:*\n"
|
||||
"reject6 [fc00::]/7:*",ep);
|
||||
tor_free(ep);
|
||||
|
||||
policy_entry =
|
||||
router_parse_addr_policy_item_from_string("accept6 [c000::]/3:*",-1);
|
||||
|
Loading…
Reference in New Issue
Block a user