diff options
Diffstat (limited to 'src/compiler/glsl/builtin_functions.cpp')
-rw-r--r-- | src/compiler/glsl/builtin_functions.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/compiler/glsl/builtin_functions.cpp b/src/compiler/glsl/builtin_functions.cpp index e262a1ec780..e98983507e2 100644 --- a/src/compiler/glsl/builtin_functions.cpp +++ b/src/compiler/glsl/builtin_functions.cpp @@ -81,6 +81,7 @@ #include "glsl_parser_extras.h" #include "program/prog_instruction.h" #include <math.h> +#include <malloc.h> #include "builtin_functions.h" #include "util/hash_table.h" @@ -1296,6 +1297,7 @@ builtin_builder::release() shader = NULL; glsl_type_singleton_decref(); + malloc_trim(0); } void |