https://bugs.winehq.org/show_bug.cgi?id=54889
--- Comment #5 from Dmitry Timoshkov dmitry@baikal.ru --- (In reply to szl from comment #4)
I found that tools/winebuild/res32.c caused the problem, replaced 8.2 res32.c with 8.1 res32.c, compiled ok, I compared the changes, does xstrdup need free?, and commented "output( "t.incbin "%s",%d,%dn", res->input_name, res->input_offset, res-> data_size ); "This line, the compilation is also OK, I add an if(i%20)output(...) in front of this line, it can also be compiled through, so I feel that there is a memory leak, trouble to help see, I didn't locate the problem myself
That might indicate that 0b3f90ab1485d5bd32bd72d41c7fd8213b3b95b9 is to blame: https://gitlab.winehq.org/wine/wine/-/commit/0b3f90ab1485d5bd32bd72d41c7fd82... Does reverting that commit help?