http://bugs.winehq.org/show_bug.cgi?id=18488
Summary: RtlReAllocateHeap memory leak Product: Wine Version: 1.1.21 Platform: All OS/Version: All Status: UNCONFIRMED Severity: normal Priority: P2 Component: ntdll AssignedTo: wine-bugs@winehq.org ReportedBy: winehq@mahadri.com
uTorrent with over 250 torrents loaded leaks ~40MB/hour. After running uTorrent for an hour under valgrind, it reported that ~40MB in 155 blocks allocated in RtlReAllocateHeap were possibly lost. I commented out wine-1.1.21/dlls/ntdll/heap.c:1553-1560, and uTorrent seems to run fine without leaking memory. The commented-out code is:
if (rounded_size >= HEAP_MIN_LARGE_BLOCK_SIZE && (flags & HEAP_GROWABLE)) { if (!(ret = allocate_large_block( heapPtr, flags, size ))) goto oom; notify_alloc( ret, size, flags & HEAP_ZERO_MEMORY ); memcpy( ret, pArena + 1, oldActualSize ); /* FIXME: free old memory here! */ goto done; }
http://bugs.winehq.org/show_bug.cgi?id=18488
Chris Humbert winehq@mahadri.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |FIXME
http://bugs.winehq.org/show_bug.cgi?id=18488
Chris Humbert winehq@mahadri.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |DUPLICATE
--- Comment #1 from Chris Humbert winehq@mahadri.com 2009-05-15 21:43:04 --- Just saw that bug 18067 is still open for this memory leak.
*** This bug has been marked as a duplicate of bug 18067 ***
http://bugs.winehq.org/show_bug.cgi?id=18488
Jeff Zaroyko jeffz@jeffz.name changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #2 from Jeff Zaroyko jeffz@jeffz.name 2009-05-15 22:28:15 --- closing
http://bugs.winehq.org/show_bug.cgi?id=18488
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords|FIXME | Platform|All |Other OS/Version|All |other