[Bug 36662] valgrind shows a few memory leaks in ws2_32/tests/sock.c

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Aug 17 00:02:39 CDT 2014


https://bugs.winehq.org/show_bug.cgi?id=36662

Sebastian Lackner <sebastian at fds-team.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sebastian at fds-team.de

--- Comment #1 from Sebastian Lackner <sebastian at fds-team.de> ---
Created attachment 49347
  --> https://bugs.winehq.org/attachment.cgi?id=49347
ws2_32/tests: Enter alertable state to ensure memory is released.

The attached patch should fix the last issue (the definite leak). The problem
is that the thread never enters an alertable state after the APC_USER callback
has been queued.

For these tests this issue wasn't really critical, since the amount of leaked
memory was relatively small - but it leaves one open question: Is the same also
required on Windows? I've never seen any Windows network apps that have to care
about that manually. I somehow suspect that on Windows some of the internal
network commands use alertable waits .... any ideas?

-- 
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