From kmail-devel Sun Nov 30 12:14:21 2003 From: Carsten Burghardt Date: Sun, 30 Nov 2003 12:14:21 +0000 To: kmail-devel Subject: [Bug 69004] another crash in kacctimap X-MARC-Message: https://marc.info/?l=kmail-devel&m=107019450613041 ------- 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