summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/or/rendservice.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/rendservice.c b/src/or/rendservice.c
index cd63a496da..e3b43d99c3 100644
--- a/src/or/rendservice.c
+++ b/src/or/rendservice.c
@@ -366,6 +366,7 @@ rend_add_service(smartlist_t *service_list, rend_service_t *service)
"have no AF_UNIX support on this platform. This is "
"probably a bug.",
p->virtual_port);
+ rend_service_free(service);
return -1;
#endif /* defined(HAVE_SYS_UN_H) */
}