From: Marek Olšák Date: Thu, 19 Aug 2010 21:32:04 +0000 (+0200) Subject: u_blitter: fix a memory leak X-Git-Tag: mesa-7.9-rc1~1082 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a9b20d45974045397b95b08a7a26e2b0aa8e32cf;p=platform%2Fupstream%2Fmesa.git u_blitter: fix a memory leak --- diff --git a/src/gallium/auxiliary/util/u_blitter.c b/src/gallium/auxiliary/util/u_blitter.c index b5b86b7..49ee7bb 100644 --- a/src/gallium/auxiliary/util/u_blitter.c +++ b/src/gallium/auxiliary/util/u_blitter.c @@ -254,6 +254,7 @@ void util_blitter_destroy(struct blitter_context *blitter) ctx->dsa_write_depth_keep_stencil); pipe->delete_depth_stencil_alpha_state(pipe, ctx->dsa_write_depth_stencil); pipe->delete_depth_stencil_alpha_state(pipe, ctx->dsa_keep_depth_write_stencil); + pipe->delete_depth_stencil_alpha_state(pipe, ctx->dsa_flush_depth_stencil); pipe->delete_rasterizer_state(pipe, ctx->rs_state); pipe->delete_vs_state(pipe, ctx->vs_col);