diff options
author | Eric Hameleers <alien@slackware.com> | 2014-12-22 15:11:27 +0100 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2014-12-22 15:11:27 +0100 |
commit | 5fc3fdb057a38c4c237a09c390871899dcfde24a (patch) | |
tree | 8b63511032f4850e197a065260d07f5970ad6dab /kde/patch/kdepim/kdepim-4.7.1_memleak.patch | |
parent | 8d7dd4892e8aa73ce7c3ea73f48a5274e48f5428 (diff) | |
download | ktown-5fc3fdb057a38c4c237a09c390871899dcfde24a.tar.gz ktown-5fc3fdb057a38c4c237a09c390871899dcfde24a.tar.xz |
KDE 4.10.5 for Slackware 14.0 (02jul2013)4.10.5
Diffstat (limited to 'kde/patch/kdepim/kdepim-4.7.1_memleak.patch')
-rw-r--r-- | kde/patch/kdepim/kdepim-4.7.1_memleak.patch | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/kde/patch/kdepim/kdepim-4.7.1_memleak.patch b/kde/patch/kdepim/kdepim-4.7.1_memleak.patch deleted file mode 100644 index e959dfa..0000000 --- a/kde/patch/kdepim/kdepim-4.7.1_memleak.patch +++ /dev/null @@ -1,22 +0,0 @@ -commit 0dbc5c1b233d355dce26868253c0e8f4dede58d4 -Author: Montel Laurent <montel@kde.org> -Date: Mon Sep 5 16:01:10 2011 +0200 - - Fix mem leak (too bad it will not in 4.7.1) - -diff --git a/mailcommon/foldercollection.cpp b/mailcommon/foldercollection.cpp -index 3c31d8e..2d4ca73 100644 ---- a/mailcommon/foldercollection.cpp -+++ b/mailcommon/foldercollection.cpp -@@ -294,8 +294,10 @@ uint FolderCollection::identity() const - OrgKdeAkonadiImapSettingsInterface *imapSettingsInterface = Util::createImapSettingsInterface( mCollection.resource() ); - if ( imapSettingsInterface->isValid() ) { - QDBusReply<bool> useDefault = imapSettingsInterface->useDefaultIdentity(); -- if( useDefault.isValid() && useDefault.value() ) -+ if( useDefault.isValid() && useDefault.value() ) { -+ delete imapSettingsInterface; - return mIdentity; -+ } - - QDBusReply<int> remoteAccountIdent = imapSettingsInterface->accountIdentity(); - if ( remoteAccountIdent.isValid() && remoteAccountIdent.value() > 0 ) { |