xserver: Branch 'master'

Eamon Walsh ewalsh at kemper.freedesktop.org
Fri Jun 27 20:12:22 PDT 2008


 dix/window.c |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 7ddfb2f1587da3ec1cd27ae270e42700adf4f560
Author: Eamon Walsh <ewalsh at tycho.nsa.gov>
Date:   Thu Jun 26 21:23:31 2008 -0400

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

diff --git a/dix/window.c b/dix/window.c
index 137afa0..541d199 100644
--- a/dix/window.c
+++ b/dix/window.c
@@ -929,6 +929,7 @@ CrushTree(WindowPtr pWin)
 		(*UnrealizeWindow)(pChild);
 	    }
 	    FreeWindowResources(pChild);
+	    dixFreePrivates(pChild->devPrivates);
 	    xfree(pChild);
 	    if ( (pChild = pSib) )
 		break;


More information about the xorg-commit mailing list