From 39cc11b005b2f462bca9004c8e0fa290377687ce Mon Sep 17 00:00:00 2001 From: Eamon Walsh Date: Thu, 26 Jun 2008 21:23:31 -0400 Subject: [PATCH] Fix a leak of window devPrivates in window.c/CrushTree(). (cherry picked from commit 7ddfb2f1587da3ec1cd27ae270e42700adf4f560) --- dix/window.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dix/window.c b/dix/window.c index 9975b5eec..834c26b12 100644 --- a/dix/window.c +++ b/dix/window.c @@ -884,6 +884,7 @@ CrushTree(WindowPtr pWin) (*UnrealizeWindow)(pChild); } FreeWindowResources(pChild); + dixFreePrivates(pChild->devPrivates); xfree(pChild); if ( (pChild = pSib) ) break;