summaryrefslogtreecommitdiff
path: root/dix
diff options
context:
space:
mode:
authorEamon Walsh <ewalsh@tycho.nsa.gov>2008-06-26 21:23:31 -0400
committerEamon Walsh <ewalsh@moss-charon.epoch.ncsc.mil>2008-06-27 23:11:29 -0400
commit39cc11b005b2f462bca9004c8e0fa290377687ce (patch)
tree3aca219bc1f6857c0a2543d889e7575109b2b9f0 /dix
parent8017c999013b79fd30cb74eaf8ca0970e9b1bd4a (diff)
Fix a leak of window devPrivates in window.c/CrushTree().
(cherry picked from commit 7ddfb2f1587da3ec1cd27ae270e42700adf4f560)
Diffstat (limited to 'dix')
-rw-r--r--dix/window.c1
1 files changed, 1 insertions, 0 deletions
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;