kernel32: Fix GlobalReAlloc for size = 0.
commit9cc41d278ff1d0bebe034ca64d82388751e4aeb6
authorRobert Shearman <rob@codeweavers.com>
Thu, 12 Jan 2006 10:55:25 +0000 (12 11:55 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 12 Jan 2006 10:55:25 +0000 (12 11:55 +0100)
tree6d6cd4496116516095d57e8bcd1931b65dde5f9b
parent49eecf5128947c82065538639d668942e5c76cb9
kernel32: Fix GlobalReAlloc for size = 0.
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
dlls/kernel/tests/heap.c