winex11.drv: Fix handle leak.

This commit is contained in:
Pierre Schweitzer 2011-12-30 21:55:25 +01:00 committed by Alexandre Julliard
parent 25ea822f27
commit 747a26d9a0
1 changed files with 1 additions and 0 deletions

View File

@ -2579,6 +2579,7 @@ int CDECL X11DRV_AcquireClipboard(HWND hWndClipWindow)
if (!selectionThread)
{
WARN("Could not start clipboard thread\n");
CloseHandle(event);
return 0;
}