aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2020-06-08 00:05:12 +0200
committerDaniel Stenberg <daniel@haxx.se>2020-06-08 08:41:11 +0200
commita3e972313b92413cc4876bfc60c066d0916e74a9 (patch)
tree867a66cd3d0318cdfdc7f99e76ea1e1ac0ec6c5c
parent7370b4e39f1390e701f5b68d910c619151daf72b (diff)
tool_cfgable: free login_options at exit
Memory leak Reported-by: Geeknik Labs Fixes #5535 Closes #5536
-rw-r--r--src/tool_cfgable.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tool_cfgable.c b/src/tool_cfgable.c
index 64cdd86d2..63bdeaa46 100644
--- a/src/tool_cfgable.c
+++ b/src/tool_cfgable.c
@@ -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);