summaryrefslogtreecommitdiff
path: root/src/or/rendservice.c
diff options
context:
space:
mode:
authorteor <teor2345@gmail.com>2016-12-03 08:24:47 +1100
committerteor <teor2345@gmail.com>2016-12-03 08:24:47 +1100
commit93c62f5ac1757f171c8a0b51f8320f48eba885a6 (patch)
treec445681d028a4f60e3809a2063c1b781705d90bc /src/or/rendservice.c
parent0446188674f0a25dd00c99810cc53b02710140e8 (diff)
downloadtor-93c62f5ac1757f171c8a0b51f8320f48eba885a6.tar.gz
tor-93c62f5ac1757f171c8a0b51f8320f48eba885a6.zip
Add a missing rend_service_free in rend_service_add
Diffstat (limited to 'src/or/rendservice.c')
-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) */
}