Sebastian Lackner : user32: Add missing call to GlobalUnlock in render_synthesized_enhmetafile.
Alexandre Julliard
julliard at winehq.org
Thu Sep 8 10:39:21 CDT 2016
Module: wine
Branch: master
Commit: 4e63a5bf8fa76e145fbd83ba8a8bcd22cedd57f8
URL: http://source.winehq.org/git/wine.git/?a=commit;h=4e63a5bf8fa76e145fbd83ba8a8bcd22cedd57f8
Author: Sebastian Lackner <sebastian at 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 at fds-team.de>
Signed-off-by: Alexandre Julliard <julliard at 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;
}
More information about the wine-cvs
mailing list