wined3d: Free the program variants array in shader_spirv_destroy() (Valgrind).
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
7e64eba5b3
commit
55795588f4
|
@ -1019,6 +1019,7 @@ static void shader_spirv_destroy(struct wined3d_shader *shader)
|
|||
shader_spirv_invalidate_contexts_graphics_program_variant(&device_vk->d, variant_vk);
|
||||
VK_CALL(vkDestroyShaderModule(device_vk->vk_device, variant_vk->vk_module, NULL));
|
||||
}
|
||||
heap_free(program_vk->variants);
|
||||
vkd3d_shader_free_scan_descriptor_info(&program_vk->descriptor_info);
|
||||
|
||||
shader->backend_data = NULL;
|
||||
|
|
Loading…
Reference in New Issue