mirror of
https://github.com/curl/curl.git
synced 2026-08-24 11:13:39 +03:00
parent
d3b04e5600
commit
bcd0497c81
19 changed files with 41 additions and 80 deletions
|
|
@ -67,11 +67,8 @@ void Curl_initinfo(struct Curl_easy *data)
|
|||
info->httpauthpicked = 0;
|
||||
info->numconnects = 0;
|
||||
|
||||
curlx_free(info->contenttype);
|
||||
info->contenttype = NULL;
|
||||
|
||||
curlx_free(info->wouldredirect);
|
||||
info->wouldredirect = NULL;
|
||||
curlx_safefree(info->contenttype);
|
||||
curlx_safefree(info->wouldredirect);
|
||||
|
||||
memset(&info->primary, 0, sizeof(info->primary));
|
||||
info->retry_after = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue