summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
Diffstat (limited to 'hw')
-rw-r--r--hw/xfree86/ddc/xf86DDC.c1
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;