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

user32: Call GlobalReAlloc with GMEM_MOVEABLE flag.

parent 6299e8a5
...@@ -189,7 +189,7 @@ static HANDLE marshal_data( UINT format, HANDLE handle, size_t *ret_size ) ...@@ -189,7 +189,7 @@ static HANDLE marshal_data( UINT format, HANDLE handle, size_t *ret_size )
/* rebuild the target handle from the data received in GetClipboardData */ /* rebuild the target handle from the data received in GetClipboardData */
static HANDLE unmarshal_data( UINT format, void *data, data_size_t size ) static HANDLE unmarshal_data( UINT format, void *data, data_size_t size )
{ {
HANDLE handle = GlobalReAlloc( data, size, 0 ); /* release unused space */ HANDLE handle = GlobalReAlloc( data, size, GMEM_MOVEABLE ); /* release unused space */
switch (format) switch (format)
{ {
......
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