diff options
author | Julien Cristau <jcristau@debian.org> | 2010-02-04 22:23:34 +0100 |
---|---|---|
committer | Julien Cristau <jcristau@debian.org> | 2010-02-08 19:20:00 +0100 |
commit | a9df47d6d018fdde8d28ec7c5237967e26413f1b (patch) | |
tree | 3b47e932c2a51c48fd6934dc280275acf859369c | |
parent | a5b035414d3234ae278c09b34641bb1c68da86d4 (diff) |
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>
-rw-r--r-- | src/fbdev.c | 1 |
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; } |