mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-27 01:34:54 +00:00
Don't leak EDID_block
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user