xserver: Branch 'server-1.5-branch'

Eamon Walsh ewalsh at kemper.freedesktop.org
Fri Jun 27 20:13:24 PDT 2008


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

New commits:
commit 39cc11b005b2f462bca9004c8e0fa290377687ce
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().
    (cherry picked from commit 7ddfb2f1587da3ec1cd27ae270e42700adf4f560)

diff --git a/dix/window.c b/dix/window.c
index 9975b5e..834c26b 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;


More information about the xorg-commit mailing list