summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xsrc/glsl/builtins/tools/generate_builtins.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glsl/builtins/tools/generate_builtins.py b/src/glsl/builtins/tools/generate_builtins.py
index b9f0ba1ad22..ab5b3777cb7 100755
--- a/src/glsl/builtins/tools/generate_builtins.py
+++ b/src/glsl/builtins/tools/generate_builtins.py
@@ -175,6 +175,7 @@ void
_mesa_glsl_release_functions(void)
{
talloc_free(builtin_mem_ctx);
+ builtin_mem_ctx = NULL;
}
void