summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2012-10-19 15:34:55 -0600
committerBrian Paul <[email protected]>2012-10-22 15:49:31 -0600
commit11070105f0b5ad20f12bb40a8dd0b357924bcfdd (patch)
tree0d1f5f0f1e88258e5842aaab219541f8b600e925 /src/mesa
parentbb93439873e0f270383d8a802eec79807d32c10a (diff)
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.
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/state_tracker/st_mesa_to_tgsi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_mesa_to_tgsi.c b/src/mesa/state_tracker/st_mesa_to_tgsi.c
index e0f08804d9d..0acab4340a0 100644
--- a/src/mesa/state_tracker/st_mesa_to_tgsi.c
+++ b/src/mesa/state_tracker/st_mesa_to_tgsi.c
@@ -1259,5 +1259,5 @@ out:
void
st_free_tokens(const struct tgsi_token *tokens)
{
- free((void *)tokens);
+ ureg_free_tokens(tokens);
}