st/mesa: free TGSI tokens with ureg_free_tokens()
authorBrian Paul <brianp@vmware.com>
Fri, 19 Oct 2012 21:34:55 +0000 (15:34 -0600)
committerAndreas Boll <andreas.boll.dev@gmail.com>
Sun, 20 Jan 2013 14:08:26 +0000 (15:08 +0100)
commitf1188d4464c78bfa0cd114d9331de8fba70724ac
tree86f896978516fa0caba5041aac495d5d499939f0
parentfb8d6b41d89c6221c8477eab229ecf0750c2c4e0
st/mesa: free TGSI tokens with ureg_free_tokens()

since they're allocated by ureg_get_tokens().

NOTE: This is a candidate for the 8.0 and 9.0 branches.

(cherry picked from commit 11070105f0b5ad20f12bb40a8dd0b357924bcfdd)
src/mesa/state_tracker/st_mesa_to_tgsi.c