D6017: Don't leak MimeData object

David Edmundson noreply at phabricator.kde.org
Wed May 31 09:05:41 UTC 2017


davidedmundson added a comment.


  > So you're cleaning up the leak the next time the getter is accessed?
  
  No? If it's accessed again m_data is not null so we don't get in that branch
  
  The main cleanup is implicitly in the DeclarativeDropEvent destructor

REPOSITORY
  R296 KDeclarative

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D6017

To: davidedmundson, #plasma, mart
Cc: hein, plasma-devel, #frameworks, ZrenBot, spstarr, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart, lukas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20170531/535211c6/attachment.html>


More information about the Kde-frameworks-devel mailing list