summaryrefslogtreecommitdiff
path: root/GL/glx/glxdri.c
diff options
context:
space:
mode:
Diffstat (limited to 'GL/glx/glxdri.c')
-rw-r--r--GL/glx/glxdri.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/GL/glx/glxdri.c b/GL/glx/glxdri.c
index 40f137864..0760290a1 100644
--- a/GL/glx/glxdri.c
+++ b/GL/glx/glxdri.c
@@ -227,7 +227,7 @@ __glXDRIcontextDestroy(__GLXcontext *baseContext)
context->driContext.destroyContext(NULL,
context->base.pScreen->myNum,
context->driContext.private);
- __glXContextDestroy(context);
+ __glXContextDestroy(&context->base);
xfree(context);
}