diff options
Diffstat (limited to 'mesalib/src/glsl/glsl_symbol_table.h')
-rwxr-xr-x[-rw-r--r--] | mesalib/src/glsl/glsl_symbol_table.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mesalib/src/glsl/glsl_symbol_table.h b/mesalib/src/glsl/glsl_symbol_table.h index e32b88b86..21b02e919 100644..100755 --- a/mesalib/src/glsl/glsl_symbol_table.h +++ b/mesalib/src/glsl/glsl_symbol_table.h @@ -44,6 +44,11 @@ struct glsl_type; */ struct glsl_symbol_table { DECLARE_RALLOC_CXX_OPERATORS(glsl_symbol_table) + static void operator delete(void *table, void *ctx) + { + ralloc_set_destructor(table, NULL); + ralloc_free(table); + } glsl_symbol_table(); ~glsl_symbol_table(); |