add missing free() in intelDestroyContext
diff --git a/src/mesa/drivers/dri/intel_winsys/intel_context.c b/src/mesa/drivers/dri/intel_winsys/intel_context.c
index 565e377..9e6f95a 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 @@
}
}
- 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 @@
}
st_destroy_context2(intel->st);
+ free(intel);
}
}