diff options
author | Zhenyu Wang <zhenyu.z.wang@intel.com> | 2008-10-10 13:45:51 +0800 |
---|---|---|
committer | Zhenyu Wang <zhenyu.z.wang@intel.com> | 2008-10-10 13:45:51 +0800 |
commit | 05cdef18ca668ffc86b71033f71cfbd262cdd994 (patch) | |
tree | ce1fc7fb063de460519e440eeb7cc225031178da | |
parent | 2d9da7a5f384d5f38b2be79b1ea0df5a3deb52d1 (diff) |
Don't leak EDID_block
-rw-r--r-- | hw/xfree86/ddc/xf86DDC.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/xfree86/ddc/xf86DDC.c b/hw/xfree86/ddc/xf86DDC.c index 0d8677637..ad8feef16 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; |