From 11070105f0b5ad20f12bb40a8dd0b357924bcfdd Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 19 Oct 2012 15:34:55 -0600 Subject: [PATCH] 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.30.2