summaryrefslogtreecommitdiff
path: root/xc/extras/Mesa/src/context.c
diff options
context:
space:
mode:
Diffstat (limited to 'xc/extras/Mesa/src/context.c')
-rw-r--r--xc/extras/Mesa/src/context.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/xc/extras/Mesa/src/context.c b/xc/extras/Mesa/src/context.c
index 3f3edf31d..82037a2f6 100644
--- a/xc/extras/Mesa/src/context.c
+++ b/xc/extras/Mesa/src/context.c
@@ -745,6 +745,8 @@ free_shared_state( GLcontext *ctx, struct gl_shared_state *ss )
_mesa_DeleteHashTable(ss->VertexPrograms);
#endif
+ _glthread_DESTROY_MUTEX(ss->Mutex);
+
FREE(ss);
}