summaryrefslogtreecommitdiffstats
path: root/src/glsl/glsl_lexer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/glsl/glsl_lexer.cpp')
-rw-r--r--src/glsl/glsl_lexer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/glsl_lexer.cpp b/src/glsl/glsl_lexer.cpp
index 04a434eb5be..04927950f4a 100644
--- a/src/glsl/glsl_lexer.cpp
+++ b/src/glsl/glsl_lexer.cpp
@@ -2537,7 +2537,7 @@ YY_RULE_SETUP
{
struct _mesa_glsl_parse_state *state = yyextra;
void *ctx = state;
- yylval->identifier = talloc_strdup(ctx, yytext);
+ yylval->identifier = ralloc_strdup(ctx, yytext);
return IDENTIFIER;
}
YY_BREAK