Commit 1cef8f0b authored by Dan Fandrich's avatar Dan Fandrich
Browse files

url.c: Fixed memory leak on OOM

This showed itself on some systems with torture failures
in tests 1060 and 1061
parent 3ae2b6cd
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -4149,6 +4149,7 @@ static CURLcode setup_connection_internals(struct connectdata *conn)
void Curl_free_request_state(struct SessionHandle *data)
{
  Curl_safefree(data->req.protop);
  Curl_safefree(data->req.newurl);
}