From 9d38b282f2e2d96a89dc86a2b80600c5e59a846e Mon Sep 17 00:00:00 2001 From: Michael Haeckel Date: Fri, 21 Dec 2001 18:29:12 +0000 Subject: [PATCH] Don't crash, when selecting a folder, where importing OE5 mails is in progress. svn path=/trunk/kdenetwork/kmail/; revision=128265 --- kmkernel.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/kmkernel.cpp b/kmkernel.cpp index 1aeb46627..6629b706a 100644 --- a/kmkernel.cpp +++ b/kmkernel.cpp @@ -293,6 +293,7 @@ bool readFolderMsgIds=false; //fprintf(stderr,"%s\n",(const char *) id); if (id!="") { msgIds->append(id); } } + F->close(); } time_t DT=M->date(); @@ -315,8 +316,6 @@ bool readFolderMsgIds=false; else { retval=-4; } } - if (F!=NULL) { F->close(); } - return retval; } else {