aboutsummaryrefslogtreecommitdiff
path: root/src/or/rendcommon.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/rendcommon.c')
-rw-r--r--src/or/rendcommon.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/rendcommon.c b/src/or/rendcommon.c
index f06a5ff424..ec4353c409 100644
--- a/src/or/rendcommon.c
+++ b/src/or/rendcommon.c
@@ -1464,6 +1464,9 @@ rend_data_service_create(const char *onion_address, const char *pk_digest,
strlcpy(rend_data->onion_address, onion_address,
sizeof(rend_data->onion_address));
rend_data->auth_type = auth_type;
+ /* Won't be used but still need to initialize it for rend_data dup and
+ * free. */
+ rend_data->hsdirs_fp = smartlist_new();
return rend_data;
}