vkd3d-shader/hlsl: Fix hlsl_ir_resource_store::resource cleanup.

This commit is contained in:
Victor Chiletto 2024-02-22 17:05:15 -03:00 committed by Alexandre Julliard
parent c083b1d0fc
commit 7e27ae73af
Notes: Alexandre Julliard 2024-02-26 23:10:41 +01:00
Approved-by: Giovanni Mascellani (@giomasce)
Approved-by: Zebediah Figura (@zfigura)
Approved-by: Henri Verbeet (@hverbeet)
Approved-by: Alexandre Julliard (@julliard)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/670

View File

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