On Thu, 19 Feb 2026 16:25:45 GMT, Matthias Baesken <[email protected]> wrote:

> Seems there is a call to  SecIdentityCopyPrivateKey where we miss calling 
> CFRelease in early returns/failure cases; same for SecIdentityCopyPrivateKey .
> 
> See the Apple documentation
> https://developer.apple.com/documentation/security/secidentitycopyprivatekey(_:_:)
> 
> Also for 
> https://developer.apple.com/documentation/security/secidentitycopycertificate(_:_:)
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

This pull request has now been integrated.

Changeset: d32eb4b4
Author:    Matthias Baesken <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/d32eb4b47eff691509625951c93b90eb29049d19
Stats:     15 lines in 1 file changed: 12 ins; 0 del; 3 mod

8376300: Avoid more leaks in KeystoreImpl.m because of missing CFRelease calls

Reviewed-by: weijun, clanger

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

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

Reply via email to