diff options
author | Brian Paul <brianp@vmware.com> | 2012-10-19 15:34:55 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2012-10-22 15:49:31 -0600 |
commit | 11070105f0b5ad20f12bb40a8dd0b357924bcfdd (patch) | |
tree | 0d1f5f0f1e88258e5842aaab219541f8b600e925 | |
parent | bb93439873e0f270383d8a802eec79807d32c10a (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.
-rw-r--r-- | src/mesa/state_tracker/st_mesa_to_tgsi.c | 2 |
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 e0f08804d9..0acab4340a 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); } |