diff options
Diffstat (limited to 'kde-base/kmail/files/4.4/0005-Fix-bug-276086-crash-on-exit.patch')
-rw-r--r-- | kde-base/kmail/files/4.4/0005-Fix-bug-276086-crash-on-exit.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/kde-base/kmail/files/4.4/0005-Fix-bug-276086-crash-on-exit.patch b/kde-base/kmail/files/4.4/0005-Fix-bug-276086-crash-on-exit.patch new file mode 100644 index 000000000000..5193c364f668 --- /dev/null +++ b/kde-base/kmail/files/4.4/0005-Fix-bug-276086-crash-on-exit.patch @@ -0,0 +1,26 @@ +From fb1874f8e2805f0afb3b9e848e8fd4d9ee11a97f Mon Sep 17 00:00:00 2001 +From: Montel Laurent <montel@kde.org> +Date: Mon, 20 Jun 2011 13:27:05 +0200 +Subject: [PATCH 5/6] Fix bug #276086 crash on exit + +--- + kmail/accountmanager.cpp | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/kmail/accountmanager.cpp b/kmail/accountmanager.cpp +index 1745aa4..ca2a7c8 100644 +--- a/kmail/accountmanager.cpp ++++ b/kmail/accountmanager.cpp +@@ -227,7 +227,8 @@ void AccountManager::processNextCheck( bool _newMail ) + + curAccount->setCheckingMail( true ); + mAcctChecking.append( curAccount ); +- kmkernel->filterMgr()->ref(); ++ if( kmkernel->filterMgr() ) ++ kmkernel->filterMgr()->ref(); + curAccount->processNewMail( mInteractive ); + } + +-- +1.7.9.2 + |