Fix embarrasing GLXPixmap leak.

This commit is contained in:
Kristian Høgsberg 2008-07-21 15:28:50 -04:00
commit d5ae85b5b7
2 changed files with 5 additions and 4 deletions

View file

@ -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;