winex11.drv: Fix a memory leak.
This commit is contained in:
parent
920bdcc4b8
commit
806e407193
|
@ -2970,8 +2970,13 @@ static Atom X11DRV_SelectionRequest_MULTIPLE( HWND hWnd, XSelectionRequestEvent
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
if (TRACE_ON(clipboard))
|
||||||
|
{
|
||||||
|
char * const typeName = XGetAtomName(display, atype);
|
||||||
TRACE("\tType %s,Format %d,nItems %ld, Remain %ld\n",
|
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();
|
wine_tsx11_unlock();
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue