[prev in list] [next in list] [prev in thread] [next in thread]
List: kmail-devel
Subject: [Bug 69004] another crash in kacctimap
From: Carsten Burghardt <cb () magic-shop ! de>
Date: 2003-11-30 12:14:21
[Download RAW message or body]
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=69004
------- Additional Comments From cb@magic-shop.de 2003-11-30 13:14 -------
Subject: kdepim/kmail
CVS commit by burghard:
A little more security, this should also fix the very latest crash of #69004 and get \
germany 1 point back.
CCMAIL: 69004@bugs.kde.org
M +1 -4 kmacctimap.cpp 1.147
--- kdepim/kmail/kmacctimap.cpp #1.146:1.147
@@ -222,11 +222,8 @@ void KMAcctImap::ignoreJobsForFolder( KM
ImapJob *job = it.current();
++it;
- if ( job->msgList().first()->parent() == folder )
+ if ( !job->msgList().isEmpty() && job->msgList().first()->parent() == folder )
{
if ( job->mJob )
- {
- job->mJob->disconnect();
removeJob( job->mJob );
- }
mJobList.remove( job );
delete job;
_______________________________________________
KMail Developers mailing list
kmail@kde.org
https://mail.kde.org/mailman/listinfo/kmail
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic