delete variable on stack is wrong, remove it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
cae31c23f3
commit
b3c88024e8
@ -403,7 +403,6 @@ extern "C" void wxClipboardHandleSelectionRequest(XEvent event)
|
|||||||
data->GetDataHere(dfFormat, buf.data());
|
data->GetDataHere(dfFormat, buf.data());
|
||||||
XChangeProperty(disp, requestor, XA_CLIPBOARD, target, 8, PropModeReplace,
|
XChangeProperty(disp, requestor, XA_CLIPBOARD, target, 8, PropModeReplace,
|
||||||
buf.data(), size);
|
buf.data(), size);
|
||||||
delete buf;
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user