winex11.drv: Fix a memory leak.

This commit is contained in:
Kusanagi Kouichi 2011-08-04 19:38:54 +09:00 committed by Alexandre Julliard
parent 920bdcc4b8
commit 806e407193
1 changed files with 7 additions and 2 deletions

View File

@ -2970,8 +2970,13 @@ static Atom X11DRV_SelectionRequest_MULTIPLE( HWND hWnd, XSelectionRequestEvent
}
else
{
if (TRACE_ON(clipboard))
{
char * const typeName = XGetAtomName(display, atype);
TRACE("\tType %s,Format %d,nItems %ld, Remain %ld\n",
XGetAtomName(display, atype), aformat, cTargetPropList, remain);
typeName, aformat, cTargetPropList, remain);
XFree(typeName);
}
wine_tsx11_unlock();
/*