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
zhengyu123 committed May 4, 2022
1 parent cf2b20f commit 75cfc99
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -1429,6 +1429,9 @@ Java_sun_awt_X11GraphicsDevice_getDoubleBufferVisuals(JNIEnv *env,
break;
}
}
AWT_LOCK();
XdbeFreeVisualInfo(visScreenInfo);
AWT_UNLOCK();
}

/*
Expand Down

1 comment on commit 75cfc99

@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.