mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-09-13 09:16:14 -07:00
libs/vkd3d: Fix memory leak in d3d12_command_allocator_Release().
This commit is contained in:
parent
a4c36a87db
commit
ec23554b54
@ -700,6 +700,7 @@ static ULONG STDMETHODCALLTYPE d3d12_command_allocator_Release(ID3D12CommandAllo
|
||||
vkd3d_free(allocator->passes);
|
||||
|
||||
/* All command buffers are implicitly freed when a pool is destroyed. */
|
||||
vkd3d_free(allocator->command_buffers);
|
||||
VK_CALL(vkDestroyCommandPool(device->vk_device, allocator->vk_command_pool, NULL));
|
||||
|
||||
vkd3d_free(allocator);
|
||||
|
Loading…
Reference in New Issue
Block a user