glx: free context in driDestroyContext()

This commit is contained in:
Kristof Ralovich 2008-08-20 15:24:04 -06:00 committed by Brian Paul
parent e206034863
commit 8b51278134

View file

@ -445,6 +445,7 @@ static void driDestroyContext(__GLXDRIcontext *context,
(*psc->core->destroyContext)(pcp->driContext);
XF86DRIDestroyContext(psc->dpy, psc->scr, pcp->hwContextID);
Xfree(pcp);
}
static Bool driBindContext(__GLXDRIcontext *context,