davidedmundson created this revision. Restricted Application added projects: Plasma, Frameworks. Restricted Application added subscribers: Frameworks, plasma-devel.
REVISION SUMMARY A DeclarativeDropArea creates a new DeclarativeDragDropEvent on every enter/move/leave event. The getter method for the mimeData property creates a new MimeData QObject wrapper, which then leaks. Use of the mimeData object outside of the event shouldn't be expected to work, and a quick grep couldn't find any usage. BUG: 380270 TEST PLAN Dragged some things REPOSITORY R296 KDeclarative BRANCH master REVISION DETAIL https://phabricator.kde.org/D6017 AFFECTED FILES src/qmlcontrols/draganddrop/DeclarativeDragDropEvent.cpp src/qmlcontrols/draganddrop/DeclarativeDragDropEvent.h To: davidedmundson, #plasma Cc: plasma-devel, #frameworks, ZrenBot, spstarr, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart, lukas