summaryrefslogtreecommitdiff
path: root/src/mesa/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/intel_winsys/intel_context.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/intel_winsys/intel_context.c b/src/mesa/drivers/dri/intel_winsys/intel_context.c
index 565e377669..9e6f95abb0 100644
--- a/src/mesa/drivers/dri/intel_winsys/intel_context.c
+++ b/src/mesa/drivers/dri/intel_winsys/intel_context.c
@@ -153,7 +153,7 @@ intelCreateContext(const __GLcontextModes * mesaVis,
}
}
- intel->st = st_create_context2(pipe, mesaVis, NULL);
+ intel->st = st_create_context2(pipe, mesaVis, NULL);
intel->st->ctx->DriverCtx = intel; /* hope to get rid of this... */
return GL_TRUE;
@@ -183,6 +183,7 @@ intelDestroyContext(__DRIcontextPrivate * driContextPriv)
}
st_destroy_context2(intel->st);
+ free(intel);
}
}