mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 13:43:47 +01:00
Fix a double-free in rend_config_services()
Found by coverity scan; CID 1398917
This commit is contained in:
parent
111c66b2f0
commit
92c3926479
@ -691,7 +691,6 @@ rend_config_services(const or_options_t *options, int validate_only)
|
|||||||
log_warn(LD_CONFIG,
|
log_warn(LD_CONFIG,
|
||||||
"HiddenServiceAllowUnknownPorts should be 0 or 1, not %s",
|
"HiddenServiceAllowUnknownPorts should be 0 or 1, not %s",
|
||||||
line->value);
|
line->value);
|
||||||
smartlist_free(temp_service_list);
|
|
||||||
goto free_and_return;
|
goto free_and_return;
|
||||||
}
|
}
|
||||||
log_info(LD_CONFIG,
|
log_info(LD_CONFIG,
|
||||||
|
Loading…
Reference in New Issue
Block a user