xf86crtc: oh mon could be NULL, so check before quirks
This commit is contained in:
parent
a9df4bb555
commit
678f786715
|
@ -2186,7 +2186,8 @@ xf86OutputGetEDID (xf86OutputPtr output, I2CBusPtr pDDCBus)
|
|||
xf86MonPtr mon;
|
||||
|
||||
mon = xf86DoEDID_DDC2 (scrn->scrnIndex, pDDCBus);
|
||||
xf86DDCApplyQuirks (scrn->scrnIndex, mon);
|
||||
if (mon)
|
||||
xf86DDCApplyQuirks (scrn->scrnIndex, mon);
|
||||
|
||||
return mon;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user