[Bug 36296] valgrind shows a potential leak in msvcp90/tests/ios.c

wine-bugs at winehq.org wine-bugs at winehq.org
Thu May 8 05:56:22 CDT 2014


http://bugs.winehq.org/show_bug.cgi?id=36296

Piotr Caban <piotr.caban at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |piotr.caban at gmail.com

--- Comment #1 from Piotr Caban <piotr.caban at 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.



More information about the wine-bugs mailing list