diff --git a/src/x11/clipbrd.cpp b/src/x11/clipbrd.cpp index af58174e55..46c44608f0 100644 --- a/src/x11/clipbrd.cpp +++ b/src/x11/clipbrd.cpp @@ -403,7 +403,6 @@ extern "C" void wxClipboardHandleSelectionRequest(XEvent event) data->GetDataHere(dfFormat, buf.data()); XChangeProperty(disp, requestor, XA_CLIPBOARD, target, 8, PropModeReplace, buf.data(), size); - delete buf; } else {