Browse Source

Fix a double-free in rend_config_services()

Found by coverity scan; CID 1398917
Nick Mathewson 7 years ago
parent
commit
92c3926479
1 changed files with 0 additions and 1 deletions
  1. 0 1
      src/or/rendservice.c

+ 0 - 1
src/or/rendservice.c

@@ -691,7 +691,6 @@ rend_config_services(const or_options_t *options, int validate_only)
         log_warn(LD_CONFIG,
                  "HiddenServiceAllowUnknownPorts should be 0 or 1, not %s",
                  line->value);
-        smartlist_free(temp_service_list);
         goto free_and_return;
       }
       log_info(LD_CONFIG,