Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/HansKristian-Work/vkd3d-proton.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Kristian Arntzen <post@arntzen-software.no>2020-11-24 22:00:35 +0300
committerHans-Kristian Arntzen <post@arntzen-software.no>2020-11-24 22:00:35 +0300
commitc8f53852f4ff4ce3fd45f48c0eeee6d5f5ff13f2 (patch)
tree4e0b13c507beb174f6468d6dbfe5628c006fdfbd
parent8a102d6a1c5960719d5395536d8742f806dc6d9e (diff)
vkd3d: Fix segfault when freeing pipeline library.crash-fix
Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
-rw-r--r--libs/vkd3d/cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/vkd3d/cache.c b/libs/vkd3d/cache.c
index 2ba35f7a..970e1ab0 100644
--- a/libs/vkd3d/cache.c
+++ b/libs/vkd3d/cache.c
@@ -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;