diff options
author | Mikko Rapeli <mikko.rapeli@iki.fi> | 2007-01-03 21:50:22 -0500 |
---|---|---|
committer | Alex Deucher <alex@samba.(none)> | 2007-01-03 21:50:22 -0500 |
commit | 3e2d370e291f5f222de88075f1f285446cca0569 (patch) | |
tree | 9c75510b11787b605f3cc59a5eeba89c62c7b363 /src | |
parent | 37240b81daa4ed46c27e439d22b6fd9909dac249 (diff) |
fix savage respawn crash
SavageCloseScreen() unmaps memory, but SavageScreenInit()
never maps it again.
Diffstat (limited to 'src')
-rw-r--r-- | src/savage_driver.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/savage_driver.c b/src/savage_driver.c index 20f1680..25694da 100644 --- a/src/savage_driver.c +++ b/src/savage_driver.c @@ -3088,6 +3088,9 @@ static Bool SavageScreenInit(int scrnIndex, ScreenPtr pScreen, SavageEnableMMIO(pScrn); + if (!SavageMapMem(pScrn)) + return FALSE; + psav->FBStart2nd = 0; if (psav->overlayDepth) { |