From 8b512781345090a18403c43c908fa84c45b8016c Mon Sep 17 00:00:00 2001 From: Kristof Ralovich Date: Wed, 20 Aug 2008 15:24:04 -0600 Subject: [PATCH] glx: free context in driDestroyContext() --- src/glx/x11/dri_glx.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/glx/x11/dri_glx.c b/src/glx/x11/dri_glx.c index 82653f1625b..08c83a23108 100644 --- a/src/glx/x11/dri_glx.c +++ b/src/glx/x11/dri_glx.c @@ -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, -- 2.30.2