shell32: Fix a lock leak.

Signed-off-by: Damjan Jovanovic <damjan.jov@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
(cherry picked from commit 401de24b89)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
This commit is contained in:
Damjan Jovanovic 2021-05-25 07:53:08 +02:00 committed by Michael Stefaniuc
parent 96a1855bb9
commit e35da6ed01
1 changed files with 1 additions and 0 deletions

View File

@ -1189,6 +1189,7 @@ static BOOL DoPaste(ContextMenu *This)
_ILFreeaPidl(apidl, lpcida->cidl);
SHFree(pidl);
GlobalUnlock(medium.u.hGlobal);
/* release the medium*/
ReleaseStgMedium(&medium);