Fix a double-free in rend_config_services()

Found by coverity scan; CID 1398917
This commit is contained in:
Nick Mathewson 2017-01-17 11:35:26 -05:00
parent 111c66b2f0
commit 92c3926479

View File

@ -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,