mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-04 22:36:10 +00:00
Fix embarrasing GLXPixmap leak.
This commit is contained in:
parent
c74ddc87c9
commit
d5ae85b5b7
2 changed files with 5 additions and 4 deletions
|
|
@ -1226,10 +1226,6 @@ static int DoDestroyDrawable(__GLXclientState *cl, XID glxdrawable, int type)
|
|||
}
|
||||
}
|
||||
|
||||
if (type == GLX_DRAWABLE_PIXMAP) {
|
||||
((PixmapPtr) pGlxDraw->pDraw)->refcnt--;
|
||||
}
|
||||
|
||||
FreeResource(glxdrawable, FALSE);
|
||||
|
||||
return Success;
|
||||
|
|
|
|||
Loading…
Reference in a new issue