vkd3d: Fix segfault when freeing pipeline library.
Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
This commit is contained in:
parent
8a102d6a1c
commit
1ce5ea8073
|
@ -281,8 +281,8 @@ static ULONG STDMETHODCALLTYPE d3d12_pipeline_library_Release(d3d12_pipeline_lib
|
|||
if (!refcount)
|
||||
{
|
||||
d3d12_pipeline_library_cleanup(pipeline_library, pipeline_library->device);
|
||||
vkd3d_free(pipeline_library);
|
||||
d3d12_device_release(pipeline_library->device);
|
||||
vkd3d_free(pipeline_library);
|
||||
}
|
||||
|
||||
return refcount;
|
||||
|
|
Loading…
Reference in New Issue