msvcr90: realloc can move memory block.

This commit is contained in:
Alexander Morozov 2012-02-27 15:39:11 +04:00 committed by Alexandre Julliard
parent f8d6d0300b
commit 35a4b7dc0e

View File

@ -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;
}