Commit 4874b806 authored by Akihiro Sagawa's avatar Akihiro Sagawa Committed by Alexandre Julliard

progman: Use LMEM_MOVEABLE when reallocating memory.

parent 884ead47
...@@ -122,7 +122,7 @@ static BOOL GRPFILE_ReadFileToBuffer(LPCSTR path, HLOCAL *phBuffer, ...@@ -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);
......
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