diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/savage_driver.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/savage_driver.c b/src/savage_driver.c index afc890e..dff332e 100644 --- a/src/savage_driver.c +++ b/src/savage_driver.c @@ -3341,10 +3341,6 @@ static Bool SavageCloseScreen(int scrnIndex, ScreenPtr pScreen) } #endif - if (psav->pVbe) - vbeFree(psav->pVbe); - psav->pVbe = NULL; - if( psav->AccelInfoRec ) { XAADestroyInfoRec( psav->AccelInfoRec ); psav->AccelInfoRec = NULL; @@ -3364,6 +3360,10 @@ static Bool SavageCloseScreen(int scrnIndex, ScreenPtr pScreen) SavageUnmapMem(pScrn, 0); } + if (psav->pVbe) + vbeFree(psav->pVbe); + psav->pVbe = NULL; + pScrn->vtSema = FALSE; pScreen->CloseScreen = psav->CloseScreen; |