diff options
author | Steve Holme <steve_holme@hotmail.com> | 2014-11-05 21:33:33 +0000 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2014-11-05 21:45:10 +0000 |
commit | 783c7f97ba4d499e26c96e9726d2af912f612bec (patch) | |
tree | e63eee62b33b4eeab5bcde886d98fe30ddcff24c /lib/http_digest.c | |
parent | f4af38120ac2b641ac84b5c801d61486313e3f2d (diff) | |
download | curl-783c7f97ba4d499e26c96e9726d2af912f612bec.tar.gz |
http_digest: Fixed memory leaks from commit 6f8d8131b1
Diffstat (limited to 'lib/http_digest.c')
-rw-r--r-- | lib/http_digest.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/http_digest.c b/lib/http_digest.c index 75251a8b6..a75ca9d59 100644 --- a/lib/http_digest.c +++ b/lib/http_digest.c @@ -154,6 +154,7 @@ CURLcode Curl_output_digest(struct connectdata *conn, *allocuserpwd = aprintf("%sAuthorization: Digest %s\r\n", proxy ? "Proxy-" : "", response); + free(response); if(!*allocuserpwd) return CURLE_OUT_OF_MEMORY; |