[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor/master] Add a missing rend_service_free in rend_service_add
commit 93c62f5ac1757f171c8a0b51f8320f48eba885a6
Author: teor <teor2345@xxxxxxxxx>
Date: Sat Dec 3 08:24:47 2016 +1100
Add a missing rend_service_free in rend_service_add
---
src/or/rendservice.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/or/rendservice.c b/src/or/rendservice.c
index cd63a49..e3b43d9 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) */
}
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits