mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-08 20:48:05 +02:00
Fix a leak of window devPrivates in window.c/CrushTree().
(cherry picked from commit 7ddfb2f158)
This commit is contained in:
parent
8017c99901
commit
39cc11b005
1 changed files with 1 additions and 0 deletions
|
|
@ -884,6 +884,7 @@ CrushTree(WindowPtr pWin)
|
||||||
(*UnrealizeWindow)(pChild);
|
(*UnrealizeWindow)(pChild);
|
||||||
}
|
}
|
||||||
FreeWindowResources(pChild);
|
FreeWindowResources(pChild);
|
||||||
|
dixFreePrivates(pChild->devPrivates);
|
||||||
xfree(pChild);
|
xfree(pChild);
|
||||||
if ( (pChild = pSib) )
|
if ( (pChild = pSib) )
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue