Fixes small memory leak in DolphinContextMenu

Authored by hallas on Jul 18 2018, 10:43 PM.

Description

Fixes small memory leak in DolphinContextMenu

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

Reviewers: broulik, elvisangelaccio

Reviewed By: broulik, elvisangelaccio

Subscribers: ngraham, kfm-devel

Tags: Dolphin

Differential Revision: https://phabricator.kde.org/D14178

Details

Committed
ngrahamJul 18 2018, 10:48 PM
Reviewer
broulik
Differential Revision
D14178: Fixes small memory leak in DolphinContextMenu
Parents
R318:e6bf758406f6: Merge branch 'Applications/18.08'
Branches
Unknown
Tags
Unknown