diff options
Diffstat (limited to 'src/glsl/builtin_functions.cpp')
-rw-r--r-- | src/glsl/builtin_functions.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/glsl/builtin_functions.cpp b/src/glsl/builtin_functions.cpp index 31f7489d18f..96358a7373d 100644 --- a/src/glsl/builtin_functions.cpp +++ b/src/glsl/builtin_functions.cpp @@ -580,6 +580,9 @@ builtin_builder::release() { ralloc_free(mem_ctx); mem_ctx = NULL; + + ralloc_free(shader); + shader = NULL; } void |