summaryrefslogtreecommitdiff
path: root/lib/multi.c
diff options
context:
space:
mode:
authorMichael Drake <michael.drake@codethink.co.uk>2022-09-28 15:51:44 +0100
committerDaniel Stenberg <daniel@haxx.se>2022-11-08 10:06:12 +0100
commit3c16697ebd796f799227be293e8689aec5f8190d (patch)
treef3523fa4b0cd71b69afb11b3afb2c94431cec977 /lib/multi.c
parentf151ec6c1053826bdcc740d97257d877b759e777 (diff)
downloadcurl-3c16697ebd796f799227be293e8689aec5f8190d.tar.gz
openssl: reduce CA certificate bundle reparsing by caching
Closes #9620
Diffstat (limited to 'lib/multi.c')
-rw-r--r--lib/multi.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/multi.c b/lib/multi.c
index 51acba73a..09965de83 100644
--- a/lib/multi.c
+++ b/lib/multi.c
@@ -2770,6 +2770,11 @@ CURLMcode curl_multi_cleanup(struct Curl_multi *multi)
wakeup_close(multi->wakeup_pair[1]);
#endif
#endif
+
+#ifdef USE_SSL
+ Curl_free_multi_ssl_backend_data(multi->ssl_backend_data);
+#endif
+
free(multi);
return CURLM_OK;