Mesa (master): u_blitter: fix a memory leak
Marek Olšák
mareko at kemper.freedesktop.org
Thu Aug 19 21:38:56 UTC 2010
Module: Mesa
Branch: master
Commit: a9b20d45974045397b95b08a7a26e2b0aa8e32cf
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a9b20d45974045397b95b08a7a26e2b0aa8e32cf
Author: Marek Olšák <maraeo at gmail.com>
Date: Thu Aug 19 23:32:04 2010 +0200
u_blitter: fix a memory leak
---
src/gallium/auxiliary/util/u_blitter.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
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);
More information about the mesa-commit
mailing list