Fixed another OOM problem, this time with test 64.
This commit is contained in:
parent
08ac9866e0
commit
6f3ef94836
@ -2386,8 +2386,11 @@ CURLcode Curl_perform(struct SessionHandle *data)
|
||||
if(res == CURLE_OK) {
|
||||
bool retry = Curl_retry_request(conn, &newurl);
|
||||
|
||||
if(retry)
|
||||
if(retry) {
|
||||
follow = FOLLOW_RETRY;
|
||||
if (!newurl)
|
||||
res = CURLE_OUT_OF_MEMORY;
|
||||
}
|
||||
else {
|
||||
/*
|
||||
* We must duplicate the new URL here as the connection data may
|
||||
|
Loading…
x
Reference in New Issue
Block a user