mirror of
https://github.com/curl/curl.git
synced 2026-07-23 10:07:16 +03:00
http_digest: Fixed memory leaks from commit 6f8d8131b1
This commit is contained in:
parent
f4af38120a
commit
783c7f97ba
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue