summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJulien Cristau <jcristau@debian.org>2010-02-04 22:23:34 +0100
committerJulien Cristau <jcristau@debian.org>2010-02-08 19:20:00 +0100
commita9df47d6d018fdde8d28ec7c5237967e26413f1b (patch)
tree3b47e932c2a51c48fd6934dc280275acf859369c /src
parenta5b035414d3234ae278c09b34641bb1c68da86d4 (diff)
downloadxorg-driver-xf86-video-fbdev-a9df47d6d018fdde8d28ec7c5237967e26413f1b.tar.gz
fbdev: add missing shadowRemove in CloseScreen()
Fixes crash in CloseScreen(). Signed-off-by: Julien Cristau <jcristau@debian.org> Tested-by: Cyril Brulebois <kibi@debian.org>
Diffstat (limited to 'src')
-rw-r--r--src/fbdev.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fbdev.c b/src/fbdev.c
index dba3118..c97ce1c 100644
--- a/src/fbdev.c
+++ b/src/fbdev.c
@@ -917,6 +917,7 @@ FBDevCloseScreen(int scrnIndex, ScreenPtr pScreen)
fbdevHWRestore(pScrn);
fbdevHWUnmapVidmem(pScrn);
if (fPtr->shadow) {
+ shadowRemove(pScreen, pScreen->GetScreenPixmap(pScreen));
xfree(fPtr->shadow);
fPtr->shadow = NULL;
}