D14178: Fixes small memory leak in DolphinContextMenu

David Hallas noreply at phabricator.kde.org
Tue Jul 17 08:57:48 BST 2018


hallas created this revision.
Restricted Application added a project: Dolphin.
Restricted Application added a subscriber: kfm-devel.
hallas requested review of this revision.

REVISION SUMMARY
  When DolphinContextMenu::baseFileItem is called a KFileItem is allocated and stored in DolphinContextMenu::m_baseFileItem, which is of type KFileItem*, but the destructor failed to delete this.

TEST PLAN
  This leak was found using Address Sanitizer

REPOSITORY
  R318 Dolphin

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

AFFECTED FILES
  src/dolphincontextmenu.cpp

To: hallas
Cc: kfm-devel, spoorun, navarromorales, firef, andrebarros, emmanuelp
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20180717/80aabf9c/attachment.htm>


More information about the kfm-devel mailing list