http://bugs.winehq.org/show_bug.cgi?id=19392
--- Comment #10 from 3vi1 winehq.org@eternaldusk.com 2009-08-15 09:25:07 --- Created an attachment (id=23071) --> (http://bugs.winehq.org/attachment.cgi?id=23071) Proposed fix, pass #2.
Okay, the bug is fixed and it tests good. Patch attached.
In my previous attempt, add_memory block would have been constantly growing by 32 allocations, and not by doing reallocs. :\ I flipped the check on the if statement to match the way it's done in add_module, so that the logic is easier to follow.
Dan: Do I need to send this to wine-patches to, like I did with my previous attempt, or do you devs usually pick up these smaller bug-fixes directly from here in bugzilla?
Thanks again for your assistance.