Add a missing rend_service_free in rend_service_add

This commit is contained in:
teor
2016-12-03 08:24:47 +11:00
parent 0446188674
commit 93c62f5ac1
+1
View File
@@ -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) */
}