aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_hs_descriptor.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-06-29 13:49:43 -0400
committerNick Mathewson <nickm@torproject.org>2018-06-29 13:49:43 -0400
commitcd3f9572199c254e6c7896b61b361061919021bb (patch)
tree0d5a8f5ca88c5e174c7efb747936ca99bc1802d3 /src/test/test_hs_descriptor.c
parent1f389dadd02e9a234ee1d1c316cdb6dcc2b25489 (diff)
parent75a6e7e256719c33329cd172248f4f2dfc80ad8c (diff)
downloadtor-cd3f9572199c254e6c7896b61b361061919021bb.tar.gz
tor-cd3f9572199c254e6c7896b61b361061919021bb.zip
Merge branch 'maint-0.3.4'
Diffstat (limited to 'src/test/test_hs_descriptor.c')
-rw-r--r--src/test/test_hs_descriptor.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/test_hs_descriptor.c b/src/test/test_hs_descriptor.c
index 75f507bccd..43d4955905 100644
--- a/src/test/test_hs_descriptor.c
+++ b/src/test/test_hs_descriptor.c
@@ -210,6 +210,7 @@ test_link_specifier(void *arg)
tt_int_op(link_specifier_get_un_ipv4_port(ls), OP_EQ, spec.u.ap.port);
link_specifier_free(ls);
+ ls = NULL;
tor_free(b64);
}
@@ -240,6 +241,7 @@ test_link_specifier(void *arg)
tt_int_op(link_specifier_get_un_ipv6_port(ls), OP_EQ, spec.u.ap.port);
link_specifier_free(ls);
+ ls = NULL;
tor_free(b64);
}
@@ -267,6 +269,7 @@ test_link_specifier(void *arg)
tt_mem_op(spec.u.legacy_id, OP_EQ, id, DIGEST_LEN);
link_specifier_free(ls);
+ ls = NULL;
tor_free(b64);
}