Commit 783c7f97 authored by Steve Holme's avatar Steve Holme
Browse files

http_digest: Fixed memory leaks from commit 6f8d8131

parent f4af3812
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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;