mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
vkd3d-shader/hlsl: Avoid leaking the block in the subscript rule.
This commit is contained in:
parent
bb74180659
commit
390a330b8e
Notes:
Henri Verbeet
2024-10-28 18:10:10 +01:00
Approved-by: Francisco Casas (@fcasas) Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1214
@ -8958,6 +8958,7 @@ postfix_expr:
|
|||||||
{
|
{
|
||||||
if (!add_record_access_recurse(ctx, $1, $3, &@2))
|
if (!add_record_access_recurse(ctx, $1, $3, &@2))
|
||||||
{
|
{
|
||||||
|
destroy_block($1);
|
||||||
vkd3d_free($3);
|
vkd3d_free($3);
|
||||||
YYABORT;
|
YYABORT;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user