Avoid destroying still attached back-end server pictures in

dmxBEDestroyResources.
This commit is contained in:
David Reveman 2008-07-21 16:15:58 -04:00
parent 152b5940c9
commit ea4520ac30

View file

@ -2310,9 +2310,14 @@ static void dmxBEDestroyResources(pointer value, XID id, RESTYPE type,
dmxBESavePixmap(pPixmap);
dmxBEFreePixmap(pPixmap);
}
dmxBEFreePicture(pScreen, (PicturePtr)value);
}
}
dmxBEFreePicture(pScreen, (PicturePtr)value);
else
{
dmxBEFreePicture(pScreen, (PicturePtr)value);
}
} else if ((type & TypeMask) == (GlyphSetType & TypeMask)) {
dmxBEFreeGlyphSet(pScreen, (GlyphSetPtr)value);
#endif