diff options
Diffstat (limited to 'src/glsl/builtin_function.cpp')
-rw-r--r-- | src/glsl/builtin_function.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glsl/builtin_function.cpp b/src/glsl/builtin_function.cpp index 0a2b0120f26..944265ca945 100644 --- a/src/glsl/builtin_function.cpp +++ b/src/glsl/builtin_function.cpp @@ -19143,6 +19143,7 @@ _mesa_glsl_release_functions(void) { talloc_free(builtin_mem_ctx); builtin_mem_ctx = NULL; + memset(builtin_profiles, 0, sizeof(builtin_profiles)); } static void |