From: Keith Whitwell Date: Wed, 12 Jan 2005 19:27:49 +0000 (+0000) Subject: Remove bogus write to freed memory (valgrind). X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8e46534b3b776f1dd0f96fc6ba5244f16a2868ab;p=mesa.git Remove bogus write to freed memory (valgrind). --- diff --git a/src/mesa/drivers/dri/unichrome/via_context.c b/src/mesa/drivers/dri/unichrome/via_context.c index d4bf2724ca7..e48df63d0b9 100644 --- a/src/mesa/drivers/dri/unichrome/via_context.c +++ b/src/mesa/drivers/dri/unichrome/via_context.c @@ -573,7 +573,6 @@ viaDestroyContext(__DRIcontextPrivate *driContextPriv) FreeBuffer(vmesa); /* free the Mesa context */ _mesa_destroy_context(vmesa->glCtx); - vmesa->glCtx->DriverCtx = NULL; FREE(vmesa); }