aboutsummaryrefslogtreecommitdiff
path: root/src/or/hs_descriptor.c
diff options
context:
space:
mode:
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 fef0607c1d..582ac9cb7c 100644
--- a/src/or/hs_descriptor.c
+++ b/src/or/hs_descriptor.c
@@ -1125,6 +1125,7 @@ decode_link_specifiers(const char *encoded)
sizeof(hs_spec->u.ed25519_id));
break;
default:
+ tor_free(hs_spec);
goto err;
}