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:
Vadim Zeitlin 2014-09-23 17:44:22 +00:00
parent cae31c23f3
commit b3c88024e8

View File

@ -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
{ {