Commit 04ddcecb authored by Méven Car's avatar Méven Car
Browse files

WaylandClipboard: DataControlSource: delete m_mimeData in dtor

As QClipboard::setMimeData in comments notes it passes ownership of the pointer.

BUG: 454590
parent 9595c0dc
Pipeline #184198 passed with stage
in 2 minutes and 55 seconds
......@@ -281,6 +281,7 @@ public:
DataControlSource() = default;
~DataControlSource()
{
delete m_mimeData;
destroy();
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment