changeset 8507 | 78ea3ec4877b |
parent 8356 | 64c792dbf671 |
child 9035 | 1255eb81cc2f |
--- a/jdk/src/solaris/native/sun/java2d/x11/X11SurfaceData.c Mon Feb 28 10:25:17 2011 -0800 +++ b/jdk/src/solaris/native/sun/java2d/x11/X11SurfaceData.c Tue Mar 01 14:49:53 2011 -0800 @@ -375,6 +375,12 @@ AWT_LOCK(); xsdo->invalid = JNI_TRUE; + + if (xsdo->xrPic != None) { + XRenderFreePicture(awt_display, xsdo->xrPic); + xsdo->xrPic = None; + } + if (xsdo->isPixmap == JNI_TRUE && xsdo->drawable != 0) { #ifdef MITSHM if (xsdo->shmPMData.shmSegInfo != NULL) {