[OpenJDK 2D-Dev] RFR: 8261533: Java_sun_font_CFont_getCascadeList leaks memory according to Xcode

Phil Race prr at openjdk.java.net
Thu Feb 11 18:56:43 UTC 2021


The various CF*Copy* functions called here need a matching CFRelease

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

Commit messages:
 - 8261533: ava_sun_font_CFont_getCascadeList leaks memory according to Xcode Instruments leak profile

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

PR: https://git.openjdk.java.net/jdk/pull/2532


More information about the 2d-dev mailing list