Kernel32: Fix GlobalReAlloc for size = 0
Robert Shearman
rob at codeweavers.com
Wed Jan 11 20:02:09 CST 2006
Fixes bug #4249.
ChangeLog:
GlobalReAlloc should return NULL if the requested size is 0, the block
is moveable and it is locked, but otherwise it should return the
original memory block.
dlls/kernel/heap.c | 12 +++++++++---
1 files changed, 9 insertions(+), 3 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 35b4977c28b2711c2f6fe37ff7085bfa47cf7bc7.diff
Type: text/x-patch
Size: 870 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20060112/0f0a9ca0/35b4977c28b2711c2f6fe37ff7085bfa47cf7bc7.diff
More information about the wine-patches
mailing list