Module: Mesa Branch: master Commit: 12c105b5de7dfb0e1c1f1fbe4ee71ddd54b020a7 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=12c105b5de7dfb0e1c1f1fbe4ee71ddd54b020a7
Author: Marek Olšák <mar...@gmail.com> Date: Tue Jun 21 05:07:53 2011 +0200 mesa: fix a memory leak in _mesa_unpack_depth_span NOTE: This is a candidate for the 7.10 branch. Reviewed-by: Brian Paul <bri...@vmware.com> --- src/mesa/main/pack.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/mesa/main/pack.c b/src/mesa/main/pack.c index d6470e3..7d541dc 100644 --- a/src/mesa/main/pack.c +++ b/src/mesa/main/pack.c @@ -4782,6 +4782,7 @@ _mesa_unpack_depth_span( struct gl_context *ctx, GLuint n, } zValues[i] = value & 0xffffff00; } + free(depthTemp); return; } else { _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-commit