progman: Use LMEM_MOVEABLE when reallocating memory.

This commit is contained in:
Akihiro Sagawa 2013-06-01 22:01:39 +09:00 committed by Alexandre Julliard
parent 884ead472b
commit 4874b806f3

View file

@ -122,7 +122,7 @@ static BOOL GRPFILE_ReadFileToBuffer(LPCSTR path, HLOCAL *phBuffer,
{ {
size += len; size += len;
hNewBuffer = LocalReAlloc(hBuffer, size + MALLOCHUNK + 1, hNewBuffer = LocalReAlloc(hBuffer, size + MALLOCHUNK + 1,
LMEM_FIXED); LMEM_MOVEABLE);
if (!hNewBuffer) if (!hNewBuffer)
{ {
LocalFree(hBuffer); LocalFree(hBuffer);