Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
5.15.9, 6.5.0
-
None
Description
Copy anything to a QClipboard using
auto mimedata = new QMimeData(); ... QGuiApplication::clipboard()->setMimeData(mimedata);
Expected behavior:
The clipboard takes ownership of the data as stated in the documentation.
Actual behavior:
A memory leak is detected. Apparently the clipboard did not take ownership.
Only wayland appears to be affected, when using QPA_PLATFORM_PLUGIN=xcb I observe no memory leak.