mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
vkd3d-shader/hlsl: Fix some memory leaks in the function call rule.
This commit is contained in:
parent
d405295bc7
commit
da2435707b
Notes:
Alexandre Julliard
2023-03-09 22:26:36 +01:00
Approved-by: Henri Verbeet (@hverbeet) Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/116
@ -5300,7 +5300,11 @@ primary_expr:
|
||||
| var_identifier '(' func_arguments ')'
|
||||
{
|
||||
if (!($$ = add_call(ctx, $1, &$3, &@1)))
|
||||
{
|
||||
vkd3d_free($1);
|
||||
YYABORT;
|
||||
}
|
||||
vkd3d_free($1);
|
||||
}
|
||||
| NEW_IDENTIFIER
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user