better bailing out on memory failure
This commit is contained in:
		| @@ -342,8 +342,11 @@ CURLMcode curl_multi_perform(CURLM *multi_handle, int *running_handles) | ||||
|             else | ||||
|               free(gotourl); | ||||
|           } | ||||
|           else | ||||
|           else { | ||||
|             easy->result = CURLE_OUT_OF_MEMORY; | ||||
|             easy->state = CURLM_STATE_COMPLETED; | ||||
|             break; | ||||
|           } | ||||
|         } | ||||
|       } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Daniel Stenberg
					Daniel Stenberg