https://bugs.winehq.org/show_bug.cgi?id=52676
--- Comment #23 from Rafał Mużyło galtgendo@o2.pl --- Above sucks a bit.
Anyway, about that other trial...
After recent patches that one works till it runs out of open file handles. As it's a WolfRPG game packed into a brick with enigma, there's a couple more filesystem redirections here.
The leak seems to happen during attempt to read a file from Data.wolf archive that's in the brick. More exactly, the read succeeds both by API and actual result, but the file handle the data was read from doesn't get closed.
Aside from that, I see something wacky: when the game looks for Data.wolf, instead of looking for it (via FindFirstFileEx/FindNextFile) from game dir down, it instead looks from the top of the absolute path down...I wonder if it works the same on Windows...