aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_config.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-02-22 16:16:56 -0500
committerNick Mathewson <nickm@torproject.org>2016-02-22 16:16:56 -0500
commit4cc50ee805538635d816e15766f25f5f97b3f180 (patch)
tree8121686ab37c79af137b29195d65a4ff77cf4c8b /src/test/test_config.c
parent041d6482db225f1bddb150393006da61b6ed6bcb (diff)
downloadtor-4cc50ee805538635d816e15766f25f5f97b3f180.tar.gz
tor-4cc50ee805538635d816e15766f25f5f97b3f180.zip
Small fixup on last fix to test leaks
Diffstat (limited to 'src/test/test_config.c')
-rw-r--r--src/test/test_config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_config.c b/src/test/test_config.c
index b87ab5705a..6be503abc5 100644
--- a/src/test/test_config.c
+++ b/src/test/test_config.c
@@ -4295,7 +4295,7 @@ test_config_parse_port_config__ports__ports_given(void *data)
tt_int_op(port_cfg->entry_cfg.ipv6_traffic, OP_EQ, 0);
// Test failure for a SessionGroup argument with invalid value
- config_free_lines(config_port_invalid); config_port_invalid = NULL;
+ config_free_lines(config_port_valid); config_port_valid = NULL;
smartlist_clear(slout);
config_port_invalid = mock_config_line("DNSPort", "42 SessionGroup=invalid");
ret = parse_port_config(slout, config_port_invalid, NULL, "DNS", 0,