Skip to content
This repository has been archived by the owner on Feb 2, 2023. It is now read-only.

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 8aae185 commit 2725913
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 2725913

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