mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
vkd3d-shader/ir: Use vkd3d_free() instead of free().
This commit is contained in:
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
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user