summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/i965
diff options
context:
space:
mode:
authorXiang, Haihao <haihao.xiang@intel.com>2008-03-06 13:20:57 +0800
committerXiang, Haihao <haihao.xiang@intel.com>2008-03-06 13:23:27 +0800
commitd76545de5730f52328a81b8371d3b08cd7511e05 (patch)
tree37b1e3e88a487df956201b5a004f282e5a053c53 /src/mesa/drivers/dri/i965
parent771ba666290150dcebeefa5d6bbf4254f95c1c26 (diff)
i965: Fix double free issue to pass glean/maskedClear test
Diffstat (limited to 'src/mesa/drivers/dri/i965')
-rw-r--r--src/mesa/drivers/dri/i965/brw_tex.c1
1 files changed, 1 insertions, 0 deletions
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;
}
/**