In KeystoreImpl.m we use CFArrayCreateMutable, but we do not always CFRelease 
the resources we created.
This should be adjusted.

See
https://developer.apple.com/documentation/corefoundation/cfarraycreatemutable(_:_:_:)

return value is  
A new mutable array, or NULL if there was a problem creating the object. 
Ownership follows the [The Create 
Rule](https://developer.apple.com/library/archive/documentation/CoreFoundation/Conceptual/CFMemoryMgmt/Concepts/Ownership.html#//apple_ref/doc/uid/20001148-103029).

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

Commit messages:
 - JDK-8375684

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

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

Reply via email to