user32: Add missing call to GlobalUnlock in render_synthesized_enhmetafile.

Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
oldstable
Sebastian Lackner 2016-09-07 20:52:49 +02:00 committed by Alexandre Julliard
parent 5eb8217f6d
commit 4e63a5bf8f
1 changed files with 2 additions and 0 deletions

View File

@ -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;
}