summaryrefslogtreecommitdiff
path: root/src/or/rendservice.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-01-17 11:35:26 -0500
committerNick Mathewson <nickm@torproject.org>2017-01-17 11:35:26 -0500
commit92c3926479de1511dc4607fdc1f9b8fa0fa9f47b (patch)
treec76f8dbba49207cfdcae4310c6801eb509d98859 /src/or/rendservice.c
parent111c66b2f0f58206026ca6a72852c3afcb56b9e7 (diff)
downloadtor-92c3926479de1511dc4607fdc1f9b8fa0fa9f47b.tar.gz
tor-92c3926479de1511dc4607fdc1f9b8fa0fa9f47b.zip
Fix a double-free in rend_config_services()
Found by coverity scan; CID 1398917
Diffstat (limited to 'src/or/rendservice.c')
-rw-r--r--src/or/rendservice.c1
1 files changed, 0 insertions, 1 deletions
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,