Skip to content

Commit

Permalink
url.c: Fixed memory leak on OOM
Browse files Browse the repository at this point in the history
This showed itself on some systems with torture failures
in tests 1060 and 1061
  • Loading branch information
dfandrich committed Jul 9, 2014
1 parent 3ae2b6c commit 1cef8f0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/url.c
Expand Up @@ -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);
}


Expand Down

0 comments on commit 1cef8f0

Please sign in to comment.