From d76545de5730f52328a81b8371d3b08cd7511e05 Mon Sep 17 00:00:00 2001 From: "Xiang, Haihao" Date: Thu, 6 Mar 2008 13:20:57 +0800 Subject: i965: Fix double free issue to pass glean/maskedClear test --- src/mesa/drivers/dri/i965/brw_tex.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/mesa/drivers/dri/i965/brw_tex.c b/src/mesa/drivers/dri/i965/brw_tex.c index ef14b8e89f..258c6260fb 100644 --- a/src/mesa/drivers/dri/i965/brw_tex.c +++ b/src/mesa/drivers/dri/i965/brw_tex.c @@ -77,6 +77,7 @@ void brw_FrameBufferTexDestroy( struct brw_context *brw ) if (brw->intel.frame_buffer_texobj != NULL) brw->intel.ctx.Driver.DeleteTexture( &brw->intel.ctx, brw->intel.frame_buffer_texobj ); + brw->intel.frame_buffer_texobj = NULL; } /** -- cgit v1.2.3