Commit 747a26d9 authored by Pierre Schweitzer's avatar Pierre Schweitzer Committed by Alexandre Julliard

winex11.drv: Fix handle leak.

parent 25ea822f
......@@ -2579,6 +2579,7 @@ int CDECL X11DRV_AcquireClipboard(HWND hWndClipWindow)
if (!selectionThread)
{
WARN("Could not start clipboard thread\n");
CloseHandle(event);
return 0;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment