http://bugs.winehq.org/show_bug.cgi?id=26049
--- Comment #1 from Bruno Jesus 00cpxxx@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.