diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-06-29 13:00:56 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-06-29 13:00:56 -0400 |
commit | df896ed6323f6f0493393f97e739501df8092e7f (patch) | |
tree | 70d642cf42f45be23fdc94e2c2139c3209a37d22 /src/test/test_hs.c | |
parent | f8dad5a079ac356ef72f14cfddca2d81fd824102 (diff) | |
parent | fe2588a5a8560c8cb03345b3caaaf906655c34a1 (diff) | |
download | tor-df896ed6323f6f0493393f97e739501df8092e7f.tar.gz tor-df896ed6323f6f0493393f97e739501df8092e7f.zip |
Merge branch 'maint-0.3.2' into maint-0.3.3
Diffstat (limited to 'src/test/test_hs.c')
-rw-r--r-- | src/test/test_hs.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/test/test_hs.c b/src/test/test_hs.c index 64448de510..07daebc164 100644 --- a/src/test/test_hs.c +++ b/src/test/test_hs.c @@ -567,10 +567,10 @@ test_hs_auth_cookies(void *arg) #define TEST_COOKIE_ENCODED_STEALTH "YWJjZGVmZ2hpamtsbW5vcB" #define TEST_COOKIE_ENCODED_INVALID "YWJjZGVmZ2hpamtsbW5vcD" - char *encoded_cookie; + char *encoded_cookie = NULL; uint8_t raw_cookie[REND_DESC_COOKIE_LEN]; rend_auth_type_t auth_type; - char *err_msg; + char *err_msg = NULL; int re; (void)arg; @@ -616,6 +616,9 @@ test_hs_auth_cookies(void *arg) tor_free(err_msg); done: + tor_free(encoded_cookie); + tor_free(err_msg); + return; } |