Module: wine Branch: master Commit: 4e63a5bf8fa76e145fbd83ba8a8bcd22cedd57f8 URL: http://source.winehq.org/git/wine.git/?a=commit;h=4e63a5bf8fa76e145fbd83ba8a... Author: Sebastian Lackner <sebastian(a)fds-team.de> Date: Wed Sep 7 20:52:49 2016 +0200 user32: Add missing call to GlobalUnlock in render_synthesized_enhmetafile. Signed-off-by: Sebastian Lackner <sebastian(a)fds-team.de> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/user32/clipboard.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dlls/user32/clipboard.c b/dlls/user32/clipboard.c index 135790a..d11dd23 100644 --- a/dlls/user32/clipboard.c +++ b/dlls/user32/clipboard.c @@ -348,6 +348,8 @@ static HANDLE render_synthesized_enhmetafile( HANDLE data ) ret = SetWinMetaFileBits( size, bits, NULL, pict ); HeapFree( GetProcessHeap(), 0, bits ); } + + GlobalUnlock( data ); return ret; }