Explorar o código

Add a missing rend_service_free in rend_service_add

teor %!s(int64=8) %!d(string=hai) anos
pai
achega
93c62f5ac1
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/or/rendservice.c

+ 1 - 0
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) */
       }