shell32: Fix a lock leak.

Signed-off-by: Damjan Jovanovic <damjan.jov@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Damjan Jovanovic 2021-05-25 07:53:08 +02:00 committed by Alexandre Julliard
parent 385142bb9e
commit 401de24b89
1 changed files with 1 additions and 0 deletions

View File

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