Giovanni Mascellani : vkd3d-shader/ir: Use vkd3d_free() instead of free().
Module: vkd3d Branch: master Commit: fbd77486deb792ad487e24ea82b40961be94ac54 URL: https://gitlab.winehq.org/wine/vkd3d/-/commit/fbd77486deb792ad487e24ea82b409... Author: Giovanni Mascellani <gmascellani(a)codeweavers.com> Date: Wed Jan 10 11:14:39 2024 +0100 vkd3d-shader/ir: Use vkd3d_free() instead of free(). --- libs/vkd3d-shader/ir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/vkd3d-shader/ir.c b/libs/vkd3d-shader/ir.c index 01c9172a..7ff9604b 100644 --- a/libs/vkd3d-shader/ir.c +++ b/libs/vkd3d-shader/ir.c @@ -1900,5 +1900,5 @@ void vsir_validate(struct vkd3d_shader_parser *parser) if (ctx.depth != 0) 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); }
participants (1)
-
Alexandre Julliard