mirror of
https://github.com/curl/curl.git
synced 2026-04-14 22:31:41 +03:00
lib: move request specific allocations to the request struct
To make it clearer that they are ephemeral. Closes #21301
This commit is contained in:
parent
7a349b5eed
commit
3512b673dd
13 changed files with 37 additions and 43 deletions
|
|
@ -284,11 +284,7 @@ CURLcode Curl_close(struct Curl_easy **datap)
|
|||
DEBUGASSERT(0);
|
||||
|
||||
Curl_hash_destroy(&data->meta_hash);
|
||||
#ifndef CURL_DISABLE_PROXY
|
||||
curlx_safefree(data->state.aptr.proxyuserpwd);
|
||||
#endif
|
||||
curlx_safefree(data->state.aptr.uagent);
|
||||
curlx_safefree(data->state.aptr.userpwd);
|
||||
curlx_safefree(data->state.aptr.accept_encoding);
|
||||
curlx_safefree(data->state.aptr.rangeline);
|
||||
curlx_safefree(data->state.aptr.ref);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue