Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
8284023: java.sun.awt.X11GraphicsDevice.getDoubleBufferVisuals() leak…
…s XdbeScreenVisualInfo

Backport-of: ec205f68a883cef6b98f26a06baf675f7da26928
  • Loading branch information
GoeLin committed Jan 2, 2023
1 parent 5971a6a commit c898a3e
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -1640,6 +1640,9 @@ Java_sun_awt_X11GraphicsDevice_getDoubleBufferVisuals(JNIEnv *env,
break;
}
}
AWT_LOCK();
XdbeFreeVisualInfo(visScreenInfo);
AWT_UNLOCK();
#endif /* !HEADLESS */
}

Expand Down

1 comment on commit c898a3e

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.