Commit 806e4071 authored by Kusanagi Kouichi's avatar Kusanagi Kouichi Committed by Alexandre Julliard

winex11.drv: Fix a memory leak.

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