void link_varyings::TearDown() { ralloc_free(this->mem_ctx); this->mem_ctx = NULL; hash_table_dtor(this->consumer_inputs); this->consumer_inputs = NULL; hash_table_dtor(this->consumer_interface_inputs); this->consumer_interface_inputs = NULL; }
void _mesa_glsl_release_types(void) { if (glsl_type::array_types != NULL) { hash_table_dtor(glsl_type::array_types); glsl_type::array_types = NULL; } if (glsl_type::record_types != NULL) { hash_table_dtor(glsl_type::record_types); glsl_type::record_types = NULL; } }
void _mesa_symbol_table_dtor(struct _mesa_symbol_table *table) { struct symbol_header *hdr; struct symbol_header *next; while (table->current_scope != NULL) { _mesa_symbol_table_pop_scope(table); } for (hdr = table->hdr; hdr != NULL; hdr = next) { next = hdr->next; free(hdr->name); free(hdr); } hash_table_dtor(table->ht); free(table); }
loop_state::~loop_state() { hash_table_dtor(this->ht); ralloc_free(this->mem_ctx); }
output_read_remover::~output_read_remover() { hash_table_dtor(replacements); ralloc_free(mem_ctx); }
~has_recursion_visitor() { hash_table_dtor(this->function_hash); ralloc_free(this->mem_ctx); }
~ir_set_program_inouts_visitor() { hash_table_dtor(this->ht); }
~ir_if_to_cond_assign_visitor() { hash_table_dtor(this->condition_variables); }