aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/http_digest.c1
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;