wined3d: Destroy the Vulkan command pool after cleaning up resources.
commit51466755ad52d80164f969fffcf1f7ba4699a4d2
authorHenri Verbeet <hverbeet@codeweavers.com>
Wed, 14 Sep 2022 13:14:44 +0000 (14 15:14 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 15 Sep 2022 20:32:57 +0000 (15 22:32 +0200)
tree4bb8b9defa4a43c5c5c5cd49267257f20f4c6801
parent99a3bc3c2b295cb7dfbbec1468f95725451efd5e
wined3d: Destroy the Vulkan command pool after cleaning up resources.

This fixes an issue exposed (but not caused) by commit
e553be7e776282fea77b8b60304298d9de90bd8b. Calling vkFreeCommandBuffers()
after the corresponding command pool was destroyed causes invalid memory
accesses. Thanks to Jacek for pointing this out.
dlls/wined3d/context_vk.c