mirror of
https://github.com/curl/curl.git
synced 2026-06-18 03:45:38 +03:00
parent
985c184d5b
commit
4c0206f90b
1 changed files with 1 additions and 3 deletions
|
|
@ -3023,10 +3023,8 @@ CURLcode Curl_http(struct Curl_easy *data, bool *done)
|
|||
if(!data->state.aptr.accept_encoding)
|
||||
return CURLE_OUT_OF_MEMORY;
|
||||
}
|
||||
else {
|
||||
else
|
||||
Curl_safefree(data->state.aptr.accept_encoding);
|
||||
data->state.aptr.accept_encoding = NULL;
|
||||
}
|
||||
|
||||
#ifdef HAVE_LIBZ
|
||||
/* we only consider transfer-encoding magic if libz support is built-in */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue