RFR: 8375684: Avoid leak in KeystoreImpl.m when using CFArrayCreateMutable

Weijun Wang weijun at openjdk.org
Fri Jan 23 18:44:33 UTC 2026


On Fri, 23 Jan 2026 09:18:56 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

> @wangweij , could you please comment on the potential function usages that miss CFRelease ? Should I address the others too in this PR or better in another one ?

Yes, seems all of them should be released. Have you tried `getInstance("KeychainStore")` again and again and see if there is any memory leak?

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

PR Comment: https://git.openjdk.org/jdk/pull/29326#issuecomment-3791742350


More information about the security-dev mailing list