Commit da929946 authored by Rémi Bernon's avatar Rémi Bernon Committed by Alexandre Julliard

ole32: Call GlobalReAlloc with GMEM_MOVEABLE flag.

parent 6ffef221
......@@ -424,7 +424,7 @@ static HRESULT WINAPI HGLOBALLockBytesImpl_SetSize(
/*
* Re allocate the HGlobal to fit the new size of the stream.
*/
supportHandle = GlobalReAlloc(This->supportHandle, libNewSize.u.LowPart, 0);
supportHandle = GlobalReAlloc(This->supportHandle, libNewSize.u.LowPart, GMEM_MOVEABLE);
if (supportHandle == 0)
return STG_E_MEDIUMFULL;
......
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