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
1 changed files with 1 additions and 1 deletions

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