aboutsummaryrefslogtreecommitdiff
path: root/src/or/hs_descriptor.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-11-04 14:21:53 -0400
committerNick Mathewson <nickm@torproject.org>2016-11-04 14:22:04 -0400
commita4291eef5aeeb9ba8939b563a657ac50d4447b7e (patch)
treed14b249aff2e879b591d0c5883e55746d7c252a2 /src/or/hs_descriptor.c
parent6ac85ca2b4ca669657f19afc8e622ac2dd7191d2 (diff)
downloadtor-a4291eef5aeeb9ba8939b563a657ac50d4447b7e.tar.gz
tor-a4291eef5aeeb9ba8939b563a657ac50d4447b7e.zip
Expose desc_intro_point_free to the tests, and use it.
Also fix another couple of leaks.
Diffstat (limited to 'src/or/hs_descriptor.c')
-rw-r--r--src/or/hs_descriptor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/hs_descriptor.c b/src/or/hs_descriptor.c
index 946418e946..668862f902 100644
--- a/src/or/hs_descriptor.c
+++ b/src/or/hs_descriptor.c
@@ -77,7 +77,7 @@ static token_rule_t hs_desc_intro_point_v3_token_table[] = {
};
/* Free a descriptor intro point object. */
-static void
+STATIC void
desc_intro_point_free(hs_desc_intro_point_t *ip)
{
if (!ip) {