diff options
author | Nick Mathewson <nickm@torproject.org> | 2016-09-05 13:30:50 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-09-05 13:30:50 -0400 |
commit | 6abce601f22789aa4bd5fdf227f9e4ba07406b1c (patch) | |
tree | 515c98a676ac805f3b30f1a52b7ef16bef090398 /src/test/test_config.c | |
parent | d0cdc8d783d248e4aefd3595ca1da5d816885a5f (diff) | |
download | tor-6abce601f22789aa4bd5fdf227f9e4ba07406b1c.tar.gz tor-6abce601f22789aa4bd5fdf227f9e4ba07406b1c.zip |
Fix BUG warning with stack trace from config/parse_port_config__listenaddress
Diffstat (limited to 'src/test/test_config.c')
-rw-r--r-- | src/test/test_config.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/test_config.c b/src/test/test_config.c index 90ea4da87d..1e6d2adf57 100644 --- a/src/test/test_config.c +++ b/src/test/test_config.c @@ -3832,6 +3832,8 @@ test_config_parse_port_config__listenaddress(void *data) tt_int_op(ret, OP_EQ, 0); // Test warning nonlocal other + SMARTLIST_FOREACH(slout,port_cfg_t *,pf,port_cfg_free(pf)); + smartlist_clear(slout); ret = parse_port_config(slout, config_port2, config_listen_address, "DNS", 0, NULL, 0, CL_PORT_WARN_NONLOCAL); tt_int_op(ret, OP_EQ, 0); |