summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-12-01 19:39:52 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2018-12-01 20:20:32 +0100
commitbeb6ed08d4fbd0d732510a629faf8faeefb49f01 (patch)
tree8f7bb6fd6e020f566dfed6ca4ac76c56b1b22b78 /kde-apps/dolphin/files/dolphin-18.04.3-memleak-2.patch
parentkde-plasma: Drop KDE Plasma 5.13.5 (diff)
downloadgentoo-beb6ed08d4fbd0d732510a629faf8faeefb49f01.tar.gz
gentoo-beb6ed08d4fbd0d732510a629faf8faeefb49f01.tar.bz2
gentoo-beb6ed08d4fbd0d732510a629faf8faeefb49f01.zip
kde-apps: Drop KDE Applications 18.04.3
Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-apps/dolphin/files/dolphin-18.04.3-memleak-2.patch')
-rw-r--r--kde-apps/dolphin/files/dolphin-18.04.3-memleak-2.patch37
1 files changed, 0 insertions, 37 deletions
diff --git a/kde-apps/dolphin/files/dolphin-18.04.3-memleak-2.patch b/kde-apps/dolphin/files/dolphin-18.04.3-memleak-2.patch
deleted file mode 100644
index f39885bdca36..000000000000
--- a/kde-apps/dolphin/files/dolphin-18.04.3-memleak-2.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-From 2cbf3cb11ea668577121fa755c1ddacc6f0acdd8 Mon Sep 17 00:00:00 2001
-From: David Hallas <david@davidhallas.dk>
-Date: Wed, 18 Jul 2018 16:43:25 -0600
-Subject: 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
----
- src/dolphincontextmenu.cpp | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/src/dolphincontextmenu.cpp b/src/dolphincontextmenu.cpp
-index 7d7d7a4..8fdaab1 100644
---- a/src/dolphincontextmenu.cpp
-+++ b/src/dolphincontextmenu.cpp
-@@ -81,6 +81,8 @@ DolphinContextMenu::DolphinContextMenu(DolphinMainWindow* parent,
-
- DolphinContextMenu::~DolphinContextMenu()
- {
-+ delete m_baseFileItem;
-+ m_baseFileItem = nullptr;
- delete m_selectedItemsProperties;
- m_selectedItemsProperties = nullptr;
- }
---
-cgit v0.11.2