mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-01-04 06:20:14 +01:00
dmxDestroyWindow() - must call the X's native DetroyWindow()
Don't really know why this section was disabled, but without it,
certain pPicture resources do not get free'd until later in the
FreeClientResources() process after the screen has been free'd -
resulting in seg fault.
With this patch, all resources normally free'd using vanilla X are
now also being freed correctly by Xdmx.
https://bugs.freedesktop.org/show_bug.cgi?id=24576
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit f713f447a2)
This commit is contained in:
parent
d1da013b32
commit
d6d3620faf
1 changed files with 1 additions and 2 deletions
|
|
@ -419,10 +419,9 @@ Bool dmxDestroyWindow(WindowPtr pWindow)
|
|||
pWinPriv->windowDestroyed(pWindow);
|
||||
#endif
|
||||
|
||||
#if 0
|
||||
if (pScreen->DestroyWindow)
|
||||
ret = pScreen->DestroyWindow(pWindow);
|
||||
#endif
|
||||
|
||||
DMX_WRAP(DestroyWindow, dmxDestroyWindow, dmxScreen, pScreen);
|
||||
|
||||
return ret;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue