glsl: don't leak memory when trying to count loop iterations
authorTimothy Arceri <tarceri@itsqueeze.com>
Fri, 17 Mar 2017 10:53:35 +0000 (21:53 +1100)
committerTimothy Arceri <tarceri@itsqueeze.com>
Sat, 18 Mar 2017 03:12:40 +0000 (14:12 +1100)
commit40bc1afc9437433f2f1d1c0a6980376ff5670638
tree8328666a98cd967d92ccb980a69dd41faa646c0f
parent1d5f4f46dae0fd809cec593683bb89dc745e15ae
glsl: don't leak memory when trying to count loop iterations

Suggested-by: Damian Dixon <damian.dixon@gmail.com>
Reviewed-by: Elie Tournier <elie.tournier@collabora.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=99789
src/compiler/glsl/loop_controls.cpp