vkd3d: Fix for freeing memory created with aligned_malloc
Signed-off-by: David McCloskey <davmcclo@gmail.com>
This commit is contained in:
parent
217ffc27d2
commit
1744896142
|
@ -5380,7 +5380,7 @@ HRESULT d3d12_descriptor_heap_create(struct d3d12_device *device,
|
||||||
|
|
||||||
if (FAILED(hr = d3d12_descriptor_heap_init(object, device, desc)))
|
if (FAILED(hr = d3d12_descriptor_heap_init(object, device, desc)))
|
||||||
{
|
{
|
||||||
vkd3d_free(object);
|
vkd3d_free_aligned(object);
|
||||||
return hr;
|
return hr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue