Commit 35a4b7dc authored by Alexander Morozov's avatar Alexander Morozov Committed by Alexandre Julliard

msvcr90: realloc can move memory block.

parent f8d6d030
...@@ -192,7 +192,7 @@ void* CDECL _recalloc(void* mem, size_t num, size_t size) ...@@ -192,7 +192,7 @@ void* CDECL _recalloc(void* mem, size_t num, size_t size)
} }
if(size>old_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; return ret;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment