diff options
author | Marek Olšák <[email protected]> | 2011-06-21 05:07:53 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2011-06-24 22:09:27 +0200 |
commit | 12c105b5de7dfb0e1c1f1fbe4ee71ddd54b020a7 (patch) | |
tree | 470c45dacdac18b84a51cf223eb4915e3f90f9f6 /src/mesa/main | |
parent | e41a91cea764cc1ba95906251cd907d837225293 (diff) |
mesa: fix a memory leak in _mesa_unpack_depth_span
NOTE: This is a candidate for the 7.10 branch.
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/main')
-rw-r--r-- | 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 d6470e351b8..7d541dcd4d2 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 { |