st/mesa: don't leak glsl_to_tgsi object on link failure
authorIlia Mirkin <imirkin@alum.mit.edu>
Sun, 17 May 2015 21:32:24 +0000 (17:32 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Mon, 25 May 2015 19:45:12 +0000 (15:45 -0400)
commitbb973723a5e1f27817b6be2c2fa4fb3ea28e733c
tree0c0eb309233627b26db8f0645dc165fbe6023e12
parent147816375d22a653176ab28ed650fa811ceea83f
st/mesa: don't leak glsl_to_tgsi object on link failure

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Cc: "10.5 10.6" <mesa-stable@lists.freedesktop.org>
src/mesa/state_tracker/st_glsl_to_tgsi.cpp