diff options
author | Kristof Ralovich <kristof.ralovich@gmail.com> | 2008-08-20 15:24:04 -0600 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2008-08-20 15:33:03 -0600 |
commit | 8b512781345090a18403c43c908fa84c45b8016c (patch) | |
tree | ebbd73021bad931948ec0915ea9c4e1ab7d0c611 | |
parent | e2060348630b59a446bac7f734fdde40033093ab (diff) |
glx: free context in driDestroyContext()
-rw-r--r-- | src/glx/x11/dri_glx.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glx/x11/dri_glx.c b/src/glx/x11/dri_glx.c index 82653f1625..08c83a2310 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, |