diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/glsl/glsl_types.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/glsl/glsl_types.cpp b/src/glsl/glsl_types.cpp index 4b344f1eb4a..aaf7c7c48d6 100644 --- a/src/glsl/glsl_types.cpp +++ b/src/glsl/glsl_types.cpp @@ -337,6 +337,11 @@ _mesa_glsl_release_types(void) _mesa_hash_table_destroy(glsl_type::record_types, NULL); glsl_type::record_types = NULL; } + + if (glsl_type::interface_types != NULL) { + _mesa_hash_table_destroy(glsl_type::interface_types, NULL); + glsl_type::interface_types = NULL; + } } |