tool: fix memory leak with --proto-default option
This commit is contained in:
parent
9756d1da76
commit
2acaf3c804
@ -118,6 +118,7 @@ static void free_config_fields(struct OperationConfig *config)
|
|||||||
|
|
||||||
Curl_safefree(config->unix_socket_path);
|
Curl_safefree(config->unix_socket_path);
|
||||||
Curl_safefree(config->writeout);
|
Curl_safefree(config->writeout);
|
||||||
|
Curl_safefree(config->proto_default);
|
||||||
|
|
||||||
curl_slist_free_all(config->quote);
|
curl_slist_free_all(config->quote);
|
||||||
curl_slist_free_all(config->postquote);
|
curl_slist_free_all(config->postquote);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user