winex11.drv: Fix a GlobalLock() reference leak.

This commit is contained in:
Damjan Jovanovic 2014-07-17 21:08:02 +02:00 committed by Alexandre Julliard
parent d734935a2c
commit 04d8b325bf
1 changed files with 1 additions and 0 deletions

View File

@ -569,6 +569,7 @@ static void X11DRV_XDND_SendDropFiles(HWND hwnd)
lpDrop->pt.x = XDNDxy.x;
lpDrop->pt.y = XDNDxy.y;
memcpy(lpDrop, GlobalLock(current->contents), GlobalSize(current->contents));
GlobalUnlock(current->contents);
TRACE("Sending WM_DROPFILES: hWnd(0x%p) %p(%s)\n", hwnd,
((char*)lpDrop) + lpDrop->pFiles, debugstr_w((WCHAR*)(((char*)lpDrop) + lpDrop->pFiles)));
GlobalUnlock(dropHandle);