From 75df8f00192415eb4ad378708ff3745390931b4e Mon Sep 17 00:00:00 2001 From: Timothy Arceri Date: Tue, 14 Jul 2015 07:41:26 +1000 Subject: [PATCH] glsl: free interface_types Reviewed-by: Iago Toral Quiroga --- src/glsl/glsl_types.cpp | 5 +++++ 1 file changed, 5 insertions(+) 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; + } } -- 2.30.2