linker: Fix memory leak in count_uniform_size::visit_field.
authorVinson Lee <vlee@freedesktop.org>
Sat, 31 Mar 2012 06:36:45 +0000 (23:36 -0700)
committerVinson Lee <vlee@freedesktop.org>
Sat, 31 Mar 2012 18:15:41 +0000 (11:15 -0700)
commit4123d0b32138a0fbdbc7f61380d041704ba0ad43
treeece228805adfade70894374182acc4ad8f65cac0
parentbd2410b48df261251f75c2c69785c8cc3182d94d
linker: Fix memory leak in count_uniform_size::visit_field.

Fixes a Coverity resource leak defect.

NOTE: This is a candidate for the 8.0 branch.

Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/glsl/link_uniforms.cpp