projects
/
profile
/
ivi
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb8d6b4
)
st/mesa: free TGSI tokens with ureg_free_tokens()
author
Brian Paul
<brianp@vmware.com>
Fri, 19 Oct 2012 21:34:55 +0000
(15:34 -0600)
committer
Andreas Boll
<andreas.boll.dev@gmail.com>
Sun, 20 Jan 2013 14:08:26 +0000
(15:08 +0100)
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
patch
|
blob
|
history
diff --git
a/src/mesa/state_tracker/st_mesa_to_tgsi.c
b/src/mesa/state_tracker/st_mesa_to_tgsi.c
index
04f3f5c
..
3cbdc71
100644
(file)
--- 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);
}