Browse Source

Add a missing rend_service_free in rend_service_add

teor 8 years ago
parent
commit
93c62f5ac1
1 changed files with 1 additions and 0 deletions
  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) */
       }