summaryrefslogtreecommitdiff
path: root/src/VBox/HostServices/SharedClipboard/x11-clipboard.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/VBox/HostServices/SharedClipboard/x11-clipboard.cpp')
-rw-r--r--src/VBox/HostServices/SharedClipboard/x11-clipboard.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/VBox/HostServices/SharedClipboard/x11-clipboard.cpp b/src/VBox/HostServices/SharedClipboard/x11-clipboard.cpp
index e0d2730a1..0fbeea8ca 100644
--- a/src/VBox/HostServices/SharedClipboard/x11-clipboard.cpp
+++ b/src/VBox/HostServices/SharedClipboard/x11-clipboard.cpp
@@ -124,8 +124,6 @@ int vboxClipboardConnect (VBOXCLIPBOARDCLIENTDATA *pClient)
pCtx->pClient = pClient;
rc = ClipStartX11(pBackend, true /* grab shared clipboard */);
}
- if (RT_FAILURE(rc) && pBackend)
- ClipStopX11(pCtx->pBackend);
if (RT_FAILURE(rc))
RTCritSectDelete(&pCtx->clipboardMutex);
}