summaryrefslogtreecommitdiffstats
path: root/kde/patch/kdepim/kdepim-4.8.1_bug_258551.patch
diff options
context:
space:
mode:
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
commit5fc3fdb057a38c4c237a09c390871899dcfde24a (patch)
tree8b63511032f4850e197a065260d07f5970ad6dab /kde/patch/kdepim/kdepim-4.8.1_bug_258551.patch
parent8d7dd4892e8aa73ce7c3ea73f48a5274e48f5428 (diff)
downloadktown-4.10.5.tar.gz
ktown-4.10.5.tar.xz
KDE 4.10.5 for Slackware 14.0 (02jul2013)4.10.5
Diffstat (limited to '')
-rw-r--r--kde/patch/kdepim/kdepim-4.8.1_bug_258551.patch58
1 files changed, 0 insertions, 58 deletions
diff --git a/kde/patch/kdepim/kdepim-4.8.1_bug_258551.patch b/kde/patch/kdepim/kdepim-4.8.1_bug_258551.patch
deleted file mode 100644
index c94cf11..0000000
--- a/kde/patch/kdepim/kdepim-4.8.1_bug_258551.patch
+++ /dev/null
@@ -1,58 +0,0 @@
-commit 7e4953c54752dca8a10ad29adf2e225a96f8669a
-Author: Montel Laurent <montel@kde.org>
-Date: Mon Mar 5 21:59:44 2012 +0100
-
- Fix Bug 258551 - KMailCVT leaks lots of memory when importing maildir
-
- Akonadi::ItemCreateJob was never delete during importing so memory used increase a lot.
- (for example during importing 2 Go it takes 2.5Go virtual memory before, after my fix it takes just 400Mo)
- Too bad that it's will not in 4.8.1
- FIXED-IN: 4.8.2
- BUG: 258551
- (cherry picked from commit eafff41025775a8a2c15cd3f26233bd8d50cb277)
-
- If we can't update kdepim source please add this patch to your source please.
-
- CCMAIL: kde-packager@kde.org
-
-diff --git a/kmailcvt/filters.cxx b/kmailcvt/filters.cxx
-index 8579534..7ffb005 100644
---- a/kmailcvt/filters.cxx
-+++ b/kmailcvt/filters.cxx
-@@ -169,11 +169,13 @@ bool Filter::addAkonadiMessage( FilterInfo* info, const Akonadi::Collection &col
- }
- item.setPayload<KMime::Message::Ptr>( message );
- Akonadi::ItemCreateJob* job = new Akonadi::ItemCreateJob( item, collection );
-+ job->setAutoDelete( false );
- if( !job->exec() ) {
- info->alert( i18n( "<b>Error:</b> Could not add message to folder %1. Reason: %2",
- collection.name(), job->errorString() ) );
- return false;
- }
-+ delete job;
- return true;
- }
-
-
-commit d5933dd8913e9a57ef0b6a7f732d6a10d08f82ae
-Author: Montel Laurent <montel@kde.org>
-Date: Tue Mar 6 08:42:31 2012 +0100
-
- Fix mem leak
-
- CCMAIL: mueller@kde.org
- CCMAIL: kde-packager@kde.org
- (cherry picked from commit 8de439bc0c39a511cfb69d5e5b111b2a5de72ccb)
-
-diff --git a/kmailcvt/filters.cxx b/kmailcvt/filters.cxx
-index 7ffb005..c3878da 100644
---- a/kmailcvt/filters.cxx
-+++ b/kmailcvt/filters.cxx
-@@ -173,6 +173,7 @@ bool Filter::addAkonadiMessage( FilterInfo* info, const Akonadi::Collection &col
- if( !job->exec() ) {
- info->alert( i18n( "<b>Error:</b> Could not add message to folder %1. Reason: %2",
- collection.name(), job->errorString() ) );
-+ delete job;
- return false;
- }
- delete job;