[3/3] user32: Add missing call to GlobalUnlock in render_synthesized_enhmetafile.

Sebastian Lackner sebastian at fds-team.de
Wed Sep 7 13:52:49 CDT 2016


Signed-off-by: Sebastian Lackner <sebastian at fds-team.de>
---
 dlls/user32/clipboard.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/dlls/user32/clipboard.c b/dlls/user32/clipboard.c
index d50c759..e35b2ff 100644
--- a/dlls/user32/clipboard.c
+++ b/dlls/user32/clipboard.c
@@ -350,6 +350,8 @@ static HANDLE render_synthesized_enhmetafile( HANDLE data )
         ret = SetWinMetaFileBits( size, bits, NULL, pict );
         HeapFree( GetProcessHeap(), 0, bits );
     }
+
+    GlobalUnlock( data );
     return ret;
 }
 
-- 
2.9.0



More information about the wine-patches mailing list