Compare commits

...

1 Commits

Author SHA1 Message Date
Hans-Kristian Arntzen c8f53852f4 vkd3d: Fix segfault when freeing pipeline library.
Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
2020-11-24 20:00:35 +01:00
1 changed files with 1 additions and 1 deletions

View File

@ -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;