summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/glsl/builtin_function.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glsl/builtin_function.cpp b/src/glsl/builtin_function.cpp
index 292ac428ba9..975e092807f 100644
--- a/src/glsl/builtin_function.cpp
+++ b/src/glsl/builtin_function.cpp
@@ -16766,6 +16766,7 @@ void
_mesa_glsl_release_functions(void)
{
talloc_free(builtin_mem_ctx);
+ builtin_mem_ctx = NULL;
}
void