aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_extorport.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2014-05-01 12:29:31 -0400
committerNick Mathewson <nickm@torproject.org>2014-05-01 12:29:31 -0400
commitb51ce907771d3fbeeb2dcba3c109d3ee25850f4c (patch)
treef968f0ab32c5b6c64dcd4f9c8695e6a1a32ae59d /src/test/test_extorport.c
parentb6c8a14bf35c4572fba49be9eb4aaaa78d776c4c (diff)
parent3866792cd04d95c80eb5dd1e7cb2fddf0c05f9b8 (diff)
downloadtor-b51ce907771d3fbeeb2dcba3c109d3ee25850f4c.tar
tor-b51ce907771d3fbeeb2dcba3c109d3ee25850f4c.tar.gz
Merge remote-tracking branch 'public/valgrind_tests'
Diffstat (limited to 'src/test/test_extorport.c')
-rw-r--r--src/test/test_extorport.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/test_extorport.c b/src/test/test_extorport.c
index f91ac7415..d47792fdb 100644
--- a/src/test/test_extorport.c
+++ b/src/test/test_extorport.c
@@ -172,6 +172,7 @@ test_ext_or_init_auth(void *arg)
(void)arg;
/* Check default filename location */
+ tor_free(options->DataDirectory);
options->DataDirectory = tor_strdup("foo");
cp = get_ext_or_auth_cookie_file_name();
tt_str_op(cp, ==, "foo"PATH_SEPARATOR"extended_orport_auth_cookie");