Zebediah Figura (@zfigura) commented about libs/vkd3d-shader/hlsl.y:
YYABORT; } }
- | STRING
{
struct hlsl_ir_node *c;
if (!(c = hlsl_new_string_constant(ctx, &@1)))
YYABORT;
if (!($$ = make_block(ctx, c)))
{
hlsl_free_instr(c);
YYABORT;
}
}
This leaks $1.