Module: vkd3d Branch: master Commit: 7e27ae73af61997ad98da2e8afd74e112e7ef998 URL: https://gitlab.winehq.org/wine/vkd3d/-/commit/7e27ae73af61997ad98da2e8afd74e...
Author: Victor Chiletto vchiletto@codeweavers.com Date: Thu Feb 22 17:05:15 2024 -0300
vkd3d-shader/hlsl: Fix hlsl_ir_resource_store::resource cleanup.
---
libs/vkd3d-shader/hlsl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libs/vkd3d-shader/hlsl.c b/libs/vkd3d-shader/hlsl.c index 0e75edd4..538f083d 100644 --- a/libs/vkd3d-shader/hlsl.c +++ b/libs/vkd3d-shader/hlsl.c @@ -3017,7 +3017,7 @@ static void free_ir_resource_load(struct hlsl_ir_resource_load *load)
static void free_ir_resource_store(struct hlsl_ir_resource_store *store) { - hlsl_src_remove(&store->resource.rel_offset); + hlsl_cleanup_deref(&store->resource); hlsl_src_remove(&store->coords); hlsl_src_remove(&store->value); vkd3d_free(store);