diff options
author | Brian Paul <[email protected]> | 2012-10-19 15:34:55 -0600 |
---|---|---|
committer | Andreas Boll <[email protected]> | 2013-01-20 15:08:26 +0100 |
commit | f1188d4464c78bfa0cd114d9331de8fba70724ac (patch) | |
tree | 86f896978516fa0caba5041aac495d5d499939f0 /src | |
parent | fb8d6b41d89c6221c8477eab229ecf0750c2c4e0 (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.
(cherry picked from commit 11070105f0b5ad20f12bb40a8dd0b357924bcfdd)
Diffstat (limited to 'src')
-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 04f3f5c0d24..3cbdc719b02 100644 --- a/src/mesa/state_tracker/st_mesa_to_tgsi.c +++ b/src/mesa/state_tracker/st_mesa_to_tgsi.c @@ -1272,5 +1272,5 @@ out: void st_free_tokens(const struct tgsi_token *tokens) { - FREE((void *)tokens); + ureg_free_tokens(tokens); } |