Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.4.0 Alpha
-
None
-
74a20b77a67ec4d5a8be0f59302075d34151dc05
Description
In QClipboard::setMimeData(), when the platform does not support the mode passed in, we just return without any feedback to the application. However, the documentation says that the function takes ownership of the data passed in, which means it needs to delete this object before returning, otherwise we will introduce a leak.