From: Brian Date: Mon, 5 Nov 2007 17:16:28 +0000 (-0700) Subject: add missing free() in intelDestroyContext X-Git-Tag: 062012170305~17580^2~390^2~3436 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6a95fe87350ed504cdf47dea2331f679db1ba3b4;p=profile%2Fivi%2Fmesa.git 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 @@ 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); } }