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 d4bf2724ca756367c3d3879d931efe494ecc0c1d..e48df63d0b9b80238e7ac40c8f55e4c86d819bfa 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);
     }