diff options
author | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2023-11-11 17:39:00 +0100 |
---|---|---|
committer | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2023-11-12 11:22:02 +0100 |
commit | 37048d04172430ee88c9cd8f7589c51a5bbcd5f4 (patch) | |
tree | 33dd5d05ca40c11ffcaf2712666ad45970ab6a40 /src/plugins/platforms/cocoa | |
parent | ab4bb5077cc82bed1f5c297f1753a68ed5fb49f1 (diff) |
QStandardItemModel: don't leak in mimeData()
When an invalid index is given to QStandardItemModel::mimeData() the
function bails out with a warning and returns a nullptr. But the
allocated data from QAIM::modelData() was not freed.
Pick-to: 6.6 6.5 6.2 5.15
Task-number: QTBUG-116532
Change-Id: Ibce9d51ea09d45f1b0eb3ca980aaff141af5bf68
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/plugins/platforms/cocoa')
0 files changed, 0 insertions, 0 deletions