7018387: Xrender pipeline may leak GC's

Reviewed-by: prr
This commit is contained in:
Clemens Eisserer 2011-02-09 14:34:04 -08:00
parent 763f890029
commit 3f1466e7d2

View File

@ -479,8 +479,7 @@ public abstract class XRSurfaceData extends XSurfaceData {
if (xrpipe == null) {
try {
SunToolkit.awtLock();
xgc = renderQueue.createGC(xid); // TODO: GC leak? where to
// clean up?
xgc = XCreateGC(getNativeOps());
xrpipe = new XRRenderer(maskBuffer.getMaskBuffer());
xrtxpipe = new PixelToShapeConverter(xrpipe);