From: teor Date: Fri, 2 Dec 2016 21:24:47 +0000 (+1100) Subject: Add a missing rend_service_free in rend_service_add X-Git-Tag: tor-0.3.0.1-alpha~96 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=93c62f5ac1757f171c8a0b51f8320f48eba885a6;p=thirdparty%2Ftor.git Add a missing rend_service_free in rend_service_add --- 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) */ }