Browse Source

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.
tags/gles3-fmt-v1
Brian Paul 13 years ago
parent
commit
11070105f0
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/mesa/state_tracker/st_mesa_to_tgsi.c

+ 1
- 1
src/mesa/state_tracker/st_mesa_to_tgsi.c View File

@@ -1259,5 +1259,5 @@ out:
void
st_free_tokens(const struct tgsi_token *tokens)
{
free((void *)tokens);
ureg_free_tokens(tokens);
}

Loading…
Cancel
Save