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 <info@metux.net> Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1711>
This commit is contained in:
parent
4378656cbb
commit
c117925ace
|
@ -730,8 +730,7 @@ vfbCloseScreen(ScreenPtr pScreen)
|
||||||
/*
|
/*
|
||||||
* fb overwrites miCloseScreen, so do this here
|
* fb overwrites miCloseScreen, so do this here
|
||||||
*/
|
*/
|
||||||
if (pScreen->devPrivate)
|
dixDestroyPixmap(pScreen->devPrivate, 0);
|
||||||
(*pScreen->DestroyPixmap) (pScreen->devPrivate);
|
|
||||||
pScreen->devPrivate = NULL;
|
pScreen->devPrivate = NULL;
|
||||||
|
|
||||||
return pScreen->CloseScreen(pScreen);
|
return pScreen->CloseScreen(pScreen);
|
||||||
|
|
Loading…
Reference in New Issue