Remove bogus write to freed memory (valgrind).
authorKeith Whitwell <keith@tungstengraphics.com>
Wed, 12 Jan 2005 19:27:49 +0000 (19:27 +0000)
committerKeith Whitwell <keith@tungstengraphics.com>
Wed, 12 Jan 2005 19:27:49 +0000 (19:27 +0000)
src/mesa/drivers/dri/unichrome/via_context.c

index d4bf272..e48df63 100644 (file)
@@ -573,7 +573,6 @@ viaDestroyContext(__DRIcontextPrivate *driContextPriv)
        FreeBuffer(vmesa);
         /* free the Mesa context */
        _mesa_destroy_context(vmesa->glCtx);
-       vmesa->glCtx->DriverCtx = NULL;
         FREE(vmesa);
     }