In Java_sun_net_www_protocol_http_ntlm_NTLMAuthSequence_getCredentialsHandle, a 
CredHandle struct is allocated with a malloc call.
But the malloced memory is never freed if later in the same function the 
AcquireCredentialsHandleA call fails.

---------
- [x] I confirm that I make this contribution in accordance with the [OpenJDK 
Interim AI Policy](https://openjdk.org/legal/ai).

-------------

Commit messages:
 - JDK-8392967

Changes: https://git.openjdk.org/jdk/pull/33070/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=33070&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8392967
  Stats: 2 lines in 1 file changed: 1 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/33070.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/33070/head:pull/33070

PR: https://git.openjdk.org/jdk/pull/33070

Reply via email to