mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-02-04 14:10:32 +01: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);
|
||||
}
|
||||
FreeWindowResources(pChild);
|
||||
dixFreePrivates(pChild->devPrivates);
|
||||
xfree(pChild);
|
||||
if ( (pChild = pSib) )
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue