summaryrefslogtreecommitdiff
path: root/src/or/hs_descriptor.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-06-29 13:06:11 -0400
committerNick Mathewson <nickm@torproject.org>2018-06-29 13:06:11 -0400
commitb89a66e9975dec4531c5443744f19b8105b4086a (patch)
treecc06acdd2a5e588f49f4859bfac658c7027435f7 /src/or/hs_descriptor.c
parent419077c26da1e50ed5671c69ec446a3eb60a8303 (diff)
parentc997d49ad6e6a360323311444eed1dbee785aea4 (diff)
downloadtor-b89a66e9975dec4531c5443744f19b8105b4086a.tar.gz
tor-b89a66e9975dec4531c5443744f19b8105b4086a.zip
Merge remote-tracking branch 'ahf-github/maint-0.3.0' into maint-0.3.1
Diffstat (limited to 'src/or/hs_descriptor.c')
-rw-r--r--src/or/hs_descriptor.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/hs_descriptor.c b/src/or/hs_descriptor.c
index 3ec02618bf..8e10c0fff8 100644
--- a/src/or/hs_descriptor.c
+++ b/src/or/hs_descriptor.c
@@ -1134,6 +1134,7 @@ decode_link_specifiers(const char *encoded)
sizeof(hs_spec->u.legacy_id));
break;
default:
+ tor_free(hs_spec);
goto err;
}