On Thu, 11 Feb 2021 18:42:30 GMT, Phil Race <[email protected]> wrote:
> The various CF*Copy* functions called here need a matching CFRelease
src/java.desktop/macosx/native/libawt_lwawt/font/AWTFont.m line 578:
> 576: (*env)->CallBooleanMethod(env, arrayListOfString, addMID,
> jFontName);
> 577: if ((*env)->ExceptionOccurred(env)) {
> 578: CFRelease(fds);
but DeleteLocalRef(jFontName) shouldn't be called here too?
-------------
PR: https://git.openjdk.java.net/jdk/pull/2532
