Fix a leak of window devPrivates in window.c/CrushTree().

This commit is contained in:
Eamon Walsh 2008-06-26 21:23:31 -04:00 committed by Eamon Walsh
parent 15e4b6c574
commit 7ddfb2f158

View File

@ -929,6 +929,7 @@ CrushTree(WindowPtr pWin)
(*UnrealizeWindow)(pChild);
}
FreeWindowResources(pChild);
dixFreePrivates(pChild->devPrivates);
xfree(pChild);
if ( (pChild = pSib) )
break;