From 783c7f97ba4d499e26c96e9726d2af912f612bec Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Wed, 5 Nov 2014 21:33:33 +0000 Subject: http_digest: Fixed memory leaks from commit 6f8d8131b1 --- lib/http_digest.c | 1 + 1 file changed, 1 insertion(+) 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; -- cgit v1.2.3