From 92c3926479de1511dc4607fdc1f9b8fa0fa9f47b Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Tue, 17 Jan 2017 11:35:26 -0500 Subject: [PATCH] Fix a double-free in rend_config_services() Found by coverity scan; CID 1398917 --- src/or/rendservice.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/or/rendservice.c b/src/or/rendservice.c index bf34aee283..e423cb71ef 100644 --- a/src/or/rendservice.c +++ b/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,