vkd3d-shader/ir: Use vkd3d_free() instead of free().

This commit is contained in:
Giovanni Mascellani 2024-01-10 11:14:39 +01:00 committed by Alexandre Julliard
parent 26c6a87268
commit fbd77486de
Notes: Alexandre Julliard 2024-01-15 23:01:43 +01:00
Approved-by: Giovanni Mascellani (@giomasce)
Approved-by: Henri Verbeet (@hverbeet)
Approved-by: Alexandre Julliard (@julliard)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/550

View File

@ -1900,5 +1900,5 @@ void vsir_validate(struct vkd3d_shader_parser *parser)
if (ctx.depth != 0) if (ctx.depth != 0)
validator_error(&ctx, VKD3D_SHADER_ERROR_VSIR_INVALID_INSTRUCTION_NESTING, "%zu nested blocks were not closed.", ctx.depth); validator_error(&ctx, VKD3D_SHADER_ERROR_VSIR_INVALID_INSTRUCTION_NESTING, "%zu nested blocks were not closed.", ctx.depth);
free(ctx.blocks); vkd3d_free(ctx.blocks);
} }