http://bugs.winehq.org/show_bug.cgi?id=36296
Piotr Caban piotr.caban@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |piotr.caban@gmail.com
--- Comment #1 from Piotr Caban piotr.caban@gmail.com --- This is caused by optimization that skips memory freeing when dll is unloaded on process exit. You need to disable it before using valgrind. Maybe we should think about a way of running the tests with cleanup code executed.
The leaks are gone when you comment: if (lpvReserved) break; line in DllMain.