1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-11 20:15:03 -05:00

tool_cfgable: free login_options at exit

Memory leak
Reported-by: Geeknik Labs
Fixes #5535
Closes #5536
This commit is contained in:
Daniel Stenberg 2020-06-08 00:05:12 +02:00
parent 7370b4e39f
commit a3e972313b
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -112,6 +112,7 @@ static void free_config_fields(struct OperationConfig *config)
Curl_safefree(config->cert_type);
Curl_safefree(config->proxy_cert_type);
Curl_safefree(config->cacert);
Curl_safefree(config->login_options);
Curl_safefree(config->proxy_cacert);
Curl_safefree(config->capath);
Curl_safefree(config->proxy_capath);