From 93c62f5ac1757f171c8a0b51f8320f48eba885a6 Mon Sep 17 00:00:00 2001 From: teor Date: Sat, 3 Dec 2016 08:24:47 +1100 Subject: Add a missing rend_service_free in rend_service_add --- src/or/rendservice.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/or') 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) */ } -- cgit v1.2.3-54-g00ecf