Bug #7375: Don't double-free the current XF86 mode after a randr reprobe.

This commit is contained in:
Eric Anholt 2006-07-03 12:01:57 -07:00
parent 5d07ebdf4f
commit dfd7fef457
1 changed files with 1 additions and 0 deletions

View File

@ -828,6 +828,7 @@ i830SetMode(ScrnInfoPtr pScrn, DisplayModePtr pMode)
*/
xfree(pI830->savedCurrentMode->name);
xfree(pI830->savedCurrentMode);
pI830->savedCurrentMode = NULL;
/* If we might have enabled/disabled some pipes, we need to reset
* cloning mode support.