Giovanni Mascellani (@giomasce) commented about libs/vkd3d-shader/hlsl.y:
$$ = &c->entry;}- | KW_DEFAULT ':'
{struct hlsl_ir_switch_case *c;if (!(c = hlsl_new_switch_case(ctx, NULL, NULL, &@1)))YYABORT;$$ = &c->entry;}+switch_cases:
switch_case{if (!($$ = make_empty_list(ctx)))YYABORT;
You need to free `switch_case` here.