mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 12:49:45 +00:00
msvcr90: realloc can move memory block.
This commit is contained in:
parent
f8d6d0300b
commit
35a4b7dc0e
@ -192,7 +192,7 @@ void* CDECL _recalloc(void* mem, size_t num, size_t size)
|
||||
}
|
||||
|
||||
if(size>old_size)
|
||||
memset((BYTE*)mem+old_size, 0, size-old_size);
|
||||
memset((BYTE*)ret+old_size, 0, size-old_size);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user