summaryrefslogtreecommitdiff
path: root/mi/midispcur.c
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu.herrb@laas.fr>2006-05-25 09:57:47 +0000
committerMatthieu Herrb <matthieu.herrb@laas.fr>2006-05-25 09:57:47 +0000
commit5c7aef148de23f39027fda647bbb53bb5b992683 (patch)
tree8685b7096643436d8f7ac93f80eafdea1f11058d /mi/midispcur.c
parent693079442377daa2dc48bf318a0d7dd256cb2738 (diff)
Don't destroy a pixmap twice on server exit (bugzilla #4247).
Diffstat (limited to 'mi/midispcur.c')
-rw-r--r--mi/midispcur.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mi/midispcur.c b/mi/midispcur.c
index 71b374fbc..597d27289 100644
--- a/mi/midispcur.c
+++ b/mi/midispcur.c
@@ -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);