[Bug 18488] New: RtlReAllocateHeap memory leak
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(a)winehq.org ReportedBy: winehq(a)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; } -- 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.
http://bugs.winehq.org/show_bug.cgi?id=18488 Chris Humbert <winehq(a)mahadri.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |FIXME -- 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.
http://bugs.winehq.org/show_bug.cgi?id=18488 Chris Humbert <winehq(a)mahadri.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |DUPLICATE --- Comment #1 from Chris Humbert <winehq(a)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 *** -- 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.
http://bugs.winehq.org/show_bug.cgi?id=18488 Jeff Zaroyko <jeffz(a)jeffz.name> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #2 from Jeff Zaroyko <jeffz(a)jeffz.name> 2009-05-15 22:28:15 --- closing -- 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.
http://bugs.winehq.org/show_bug.cgi?id=18488 Dmitry Timoshkov <dmitry(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|FIXME | Platform|All |Other OS/Version|All |other -- 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.
participants (1)
-
wine-bugs@winehq.org