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)
committerBrian Paul <brianp@vmware.com>
Mon, 22 Oct 2012 21:49:31 +0000 (15:49 -0600)
commit11070105f0b5ad20f12bb40a8dd0b357924bcfdd
tree0d1f5f0f1e88258e5842aaab219541f8b600e925
parentbb93439873e0f270383d8a802eec79807d32c10a
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.
src/mesa/state_tracker/st_mesa_to_tgsi.c