mirror of
https://github.com/curl/curl.git
synced 2026-08-02 08:00:29 +03:00
implement #21588
This commit is contained in:
parent
f600501916
commit
080c38b3ef
3 changed files with 3 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue