http://bugs.winehq.org/show_bug.cgi?id=36296 Piotr Caban <piotr.caban(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |piotr.caban(a)gmail.com --- Comment #1 from Piotr Caban <piotr.caban(a)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. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.