[Bug 26049] ws2_32/sock tests shows some leaks in AcceptEx?

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Aug 3 22:07:37 CDT 2011


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

--- Comment #1 from Bruno Jesus <00cpxxx at gmail.com> 2011-08-03 22:07:30 CDT ---
Created an attachment (id=35802)
 --> (http://bugs.winehq.org/attachment.cgi?id=35802)
ws2_32: Fix a memory leak on WS2_AcceptEx

After some tests I found out wsa->read is not being freed (2 HeapAllocs, 1
HeapFree on the function). The attached patch fixes this.

I tried playing around with valgrind but I can't get any valgrind output using
the following command inside ws2_32\tests (before or after the patch):

valgrind --tool=memcheck --leak-check=yes ../../../tools/runtest -p
ws2_32_test.exe.so sock

Can anyone retest or teach me how to test correctly on valgrind?
Thanks in advance.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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