[Bug 8229] callbacks from win16 extended program that allocate linear memory screw up pointers
http://bugs.winehq.org/show_bug.cgi?id=8229 ------- Additional Comments From lupien(a)physique.usherbrooke.ca 2007-30-04 01:16 ------- Created an attachment (id=6030) --> (http://bugs.winehq.org/attachment.cgi?id=6030&action=view) patch to dlls/winedos/int31.c to fix an error in DPMI_xrealloc DPMI_xrealloc() function of dlls/winedos/int31.c reserved the memory before doing the test and if they failed it would not release it. So I moved the memory allocation after the tests. It will only behave differently if it is called with a NULL handle (ptr). If that is a problem, an else statement can be added when ptr is NULL. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
participants (1)
-
Wine Bugs