xserver: Branch 'master'

Zhenyu Wang zhen at kemper.freedesktop.org
Thu Oct 9 22:52:53 PDT 2008


 hw/xfree86/ddc/xf86DDC.c |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 05cdef18ca668ffc86b71033f71cfbd262cdd994
Author: Zhenyu Wang <zhenyu.z.wang at intel.com>
Date:   Fri Oct 10 13:45:51 2008 +0800

    Don't leak EDID_block

diff --git a/hw/xfree86/ddc/xf86DDC.c b/hw/xfree86/ddc/xf86DDC.c
index 0d86776..ad8feef 100644
--- a/hw/xfree86/ddc/xf86DDC.c
+++ b/hw/xfree86/ddc/xf86DDC.c
@@ -249,6 +249,7 @@ xf86DoEEDID(int scrnIndex, I2CBusPtr pBus, Bool complete)
 
 	tmp = xf86InterpretEEDID(scrnIndex, EDID_block);
     }
+    xfree(EDID_block);
 
     if (tmp && complete)
 	tmp->flags |= EDID_COMPLETE_RAWDATA;


More information about the xorg-commit mailing list