[Bug 20548] Memory leak in pending overlapped I/O?

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Nov 1 15:38:14 CST 2009


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





--- Comment #1 from Dan Kegel <dank at kegel.com>  2009-11-01 15:38:13 ---
Here's a similar example, this time in ws2:

52 bytes in 1 blocks are definitely lost in loss record 431 of 983
   by RtlAllocateHeap (heap.c:1421)
   by WS2_register_async_shutdown (socket.c:1526)
   by WS_shutdown (socket.c:3468)
   by net::TCPClientSocketWin::Disconnect (tcp_client_socket_win.cc:345)
   by net::`anonymous namespace'::TCPClientSocketTest_Connect_Test::TestBody
(tcp_client_socket_unittest.cc:110)

Again, if the status is STATUS_PENDING, who's supposed to free that memory?

To reproduce the second example:
 mkdir demo
 cd demo
 wget -c http://kegel.com/wine/chromium/chromium-tests.tar.bz2
 tar -xjvf chromium-tests.tar.bz2
 valgrind --trace-children=yes --leak-check=full wine
src/chrome/Debug/net_unittests.exe --gtest_filter=TCPClientSocketTest.Connect

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