diff options
author | CoprDistGit <infra@openeuler.org> | 2024-10-21 00:52:10 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-10-21 00:52:10 +0000 |
commit | 3c88d5d34e1a50361b2b9e07c5325e83b94b7f4d (patch) | |
tree | 3d5e182ff1cb273ccf740352fc032edb7733e89e /backport-tool_cfgable-free-proxy_-cipher13_list-on-exit.patch | |
parent | 0017b7af4906f87b0d934be3d4e3502652129801 (diff) |
automatic import of curlopeneuler20.03_LTS_SP4
Diffstat (limited to 'backport-tool_cfgable-free-proxy_-cipher13_list-on-exit.patch')
-rw-r--r-- | backport-tool_cfgable-free-proxy_-cipher13_list-on-exit.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/backport-tool_cfgable-free-proxy_-cipher13_list-on-exit.patch b/backport-tool_cfgable-free-proxy_-cipher13_list-on-exit.patch new file mode 100644 index 0000000..ada0c62 --- /dev/null +++ b/backport-tool_cfgable-free-proxy_-cipher13_list-on-exit.patch @@ -0,0 +1,28 @@ +From 87d14e77b7d59a961eb56500017c0580f89f252b Mon Sep 17 00:00:00 2001 +From: Jan Venekamp <1422460+jan2000@users.noreply.github.com> +Date: Sat, 4 May 2024 03:05:51 +0200 +Subject: [PATCH] tool_cfgable: free {proxy_}cipher13_list on exit + +Author: Jan Venekamp +Reviewed-by: Daniel Gustafsson <daniel@yesql.se> +Closes: #13531 + +Conflict:NA +Reference:https://github.com/curl/curl/commit/87d14e77b7d59a961eb56500017c0580f89f252b +--- + src/tool_cfgable.c | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/src/tool_cfgable.c b/src/tool_cfgable.c +index bb271583263db3..5564e250d33782 100644 +--- a/src/tool_cfgable.c ++++ b/src/tool_cfgable.c +@@ -114,6 +114,8 @@ static void free_config_fields(struct OperationConfig *config) + Curl_safefree(config->doh_url); + Curl_safefree(config->cipher_list); + Curl_safefree(config->proxy_cipher_list); ++ Curl_safefree(config->cipher13_list); ++ Curl_safefree(config->proxy_cipher13_list); + Curl_safefree(config->cert); + Curl_safefree(config->proxy_cert); + Curl_safefree(config->cert_type); |