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

Reviewed-by: prr, serb
  • Loading branch information
zhengyu123 committed Apr 6, 2022
1 parent b9cc3bc commit ec205f6
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 ec205f6

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