From c117925ace592529b0152efea3b1342399b31246 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Mon, 30 Sep 2024 17:58:18 +0200 Subject: [PATCH] vfb: use dixDestroyPixmap() instead of direct driver call Direct calls to ScreenRec->DestroyPixmap() blocks cleaning up the wrapping jungle, so use the proper dix function instead. See: https://gitlab.freedesktop.org/xorg/xserver/-/issues/1754 Signed-off-by: Enrico Weigelt, metux IT consult Part-of: --- hw/vfb/InitOutput.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/hw/vfb/InitOutput.c b/hw/vfb/InitOutput.c index 6452d2556..773831afd 100644 --- a/hw/vfb/InitOutput.c +++ b/hw/vfb/InitOutput.c @@ -730,8 +730,7 @@ vfbCloseScreen(ScreenPtr pScreen) /* * fb overwrites miCloseScreen, so do this here */ - if (pScreen->devPrivate) - (*pScreen->DestroyPixmap) (pScreen->devPrivate); + dixDestroyPixmap(pScreen->devPrivate, 0); pScreen->devPrivate = NULL; return pScreen->CloseScreen(pScreen);