projects
/
curl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4af381
)
http_digest: Fixed memory leaks from commit 6f8d8131b1
author
Steve Holme
<steve_holme@hotmail.com>
Wed, 5 Nov 2014 21:33:33 +0000
(21:33 +0000)
committer
Steve Holme
<steve_holme@hotmail.com>
Wed, 5 Nov 2014 21:45:10 +0000
(21:45 +0000)
lib/http_digest.c
patch
|
blob
|
history
diff --git
a/lib/http_digest.c
b/lib/http_digest.c
index 75251a8b6d4647ba0bce6cfc7d45f6bb4c944e6d..a75ca9d59b3ebc23aefc7586f764c73b6e9621c4 100644
(file)
--- 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;