vkd3d-shader/spirv: Free the spirv parameter info.

This commit is contained in:
Conor McCarthy 2024-08-21 00:40:48 +10:00 committed by Henri Verbeet
parent 56cd64ccba
commit 738ecc9eb1
Notes: Henri Verbeet 2024-08-20 21:35:30 +02:00
Approved-by: Henri Verbeet (@hverbeet)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1007

View File

@ -2514,6 +2514,8 @@ static void spirv_compiler_destroy(struct spirv_compiler *compiler)
vkd3d_free(compiler->push_constants); vkd3d_free(compiler->push_constants);
vkd3d_free(compiler->descriptor_offset_ids); vkd3d_free(compiler->descriptor_offset_ids);
vkd3d_free(compiler->spirv_parameter_info);
vkd3d_spirv_builder_free(&compiler->spirv_builder); vkd3d_spirv_builder_free(&compiler->spirv_builder);
rb_destroy(&compiler->symbol_table, vkd3d_symbol_free, NULL); rb_destroy(&compiler->symbol_table, vkd3d_symbol_free, NULL);