glsl: Fix leak of LinkedTransformFeedback.Varyings.
authorEric Anholt <eric@anholt.net>
Thu, 12 Jan 2012 21:10:26 +0000 (13:10 -0800)
committerEric Anholt <eric@anholt.net>
Wed, 18 Jan 2012 17:59:12 +0000 (09:59 -0800)
commit5a0f395bcf70e524492e766a07cf0b816b42a20d
tree023a18cf482c7c3112191dda9bdf2a44e54ea4ef
parent0f68d88034a9815445ae0a35aacc500f82f33a18
glsl: Fix leak of LinkedTransformFeedback.Varyings.

I copy-and-pasted the thing I was allocating for as the context, so
the first time it would be NULL (root of a ralloc context) and they'd
chain off each other from then on.

NOTE: This is a candidate for the 8.0 branch.
src/glsl/linker.cpp