diff options
author | Dan Fandrich <dan@coneharvesters.com> | 2014-07-07 23:12:22 +0200 |
---|---|---|
committer | Dan Fandrich <dan@coneharvesters.com> | 2014-07-09 23:55:12 +0200 |
commit | 1cef8f0bc3de6374ffb2f573dc825c01bf7f9636 (patch) | |
tree | 3f474186652c5e0eacfa829f73285d2829cdcb59 /lib | |
parent | 3ae2b6cd7ff6eda5c6856efb6b2cdf52b61e980c (diff) |
url.c: Fixed memory leak on OOM
This showed itself on some systems with torture failures
in tests 1060 and 1061
Diffstat (limited to 'lib')
-rw-r--r-- | lib/url.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); } |