Commit a9df47d6 authored by Julien Cristau's avatar Julien Cristau
Browse files

fbdev: add missing shadowRemove in CloseScreen()



Fixes crash in CloseScreen().
Signed-off-by: default avatarJulien Cristau <jcristau@debian.org>
Tested-by: default avatarCyril Brulebois <kibi@debian.org>
parent a5b03541
...@@ -917,6 +917,7 @@ FBDevCloseScreen(int scrnIndex, ScreenPtr pScreen) ...@@ -917,6 +917,7 @@ FBDevCloseScreen(int scrnIndex, ScreenPtr pScreen)
fbdevHWRestore(pScrn); fbdevHWRestore(pScrn);
fbdevHWUnmapVidmem(pScrn); fbdevHWUnmapVidmem(pScrn);
if (fPtr->shadow) { if (fPtr->shadow) {
shadowRemove(pScreen, pScreen->GetScreenPixmap(pScreen));
xfree(fPtr->shadow); xfree(fPtr->shadow);
fPtr->shadow = NULL; fPtr->shadow = NULL;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment