summaryrefslogtreecommitdiff
path: root/backport-tool_cfgable-free-proxy_-cipher13_list-on-exit.patch
diff options
context:
space:
mode:
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.patch28
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);