Commit d348ab06 authored by Julien Cristau's avatar Julien Cristau Committed by Peter Hutterer
Browse files

Xvfb: destroy the screen pixmap in CloseScreen

Signed-off-by: Peter Hutterer's avatarPeter Hutterer <>
Reviewed-by: Peter Hutterer's avatarPeter Hutterer <>
parent e4153c1d
......@@ -774,6 +774,13 @@ vfbCloseScreen(int index, ScreenPtr pScreen)
for (i = 0; i < screenInfo.numScreens; i++)
SetInstalledColormap(screenInfo.screens[i], NULL);
* fb overwrites miCloseScreen, so do this here
if (pScreen->devPrivate)
(*pScreen->DestroyPixmap) (pScreen->devPrivate);
pScreen->devPrivate = NULL;
return pScreen->CloseScreen(index, pScreen);
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