This commit is contained in:
Viktor Szakats 2026-05-16 12:58:25 +02:00
parent f600501916
commit 080c38b3ef
No known key found for this signature in database
3 changed files with 3 additions and 1 deletions

View file

@ -315,6 +315,7 @@ CURLcode Curl_close(struct Curl_easy **datap)
#ifndef CURL_DISABLE_PROXY
Curl_ssl_config_cleanup(&data->set.proxy_ssl.primary);
#endif
curlx_memzero(data, sizeof(*data));
curlx_free(data);
return CURLE_OK;
}