Don't destroy a pixmap twice on server exit (bugzilla #4247).

This commit is contained in:
Matthieu Herrb 2006-05-25 09:57:47 +00:00
commit 5c7aef148d
2 changed files with 7 additions and 0 deletions

View file

@ -184,7 +184,9 @@ miDCCloseScreen (index, pScreen)
tossPix (pScreenPriv->pSave);
tossPix (pScreenPriv->pTemp);
#ifdef ARGB_CURSOR
#if 0 /* This has been free()d before */
tossPict (pScreenPriv->pRootPicture);
#endif
tossPict (pScreenPriv->pTempPicture);
#endif
xfree ((pointer) pScreenPriv);