mirror of
git://source.winehq.org/git/wine.git
synced 2024-08-31 08:14:06 +00:00
progman: Use LMEM_MOVEABLE when reallocating memory.
This commit is contained in:
parent
884ead472b
commit
4874b806f3
|
@ -122,7 +122,7 @@ static BOOL GRPFILE_ReadFileToBuffer(LPCSTR path, HLOCAL *phBuffer,
|
|||
{
|
||||
size += len;
|
||||
hNewBuffer = LocalReAlloc(hBuffer, size + MALLOCHUNK + 1,
|
||||
LMEM_FIXED);
|
||||
LMEM_MOVEABLE);
|
||||
if (!hNewBuffer)
|
||||
{
|
||||
LocalFree(hBuffer);
|
||||
|
|
Loading…
Reference in a new issue