mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-30 22:30:08 +01:00
Avoid destroying still attached back-end server pictures in
dmxBEDestroyResources.
This commit is contained in:
parent
152b5940c9
commit
ea4520ac30
1 changed files with 6 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue