diff -r aba12c885d83 -r 96907930389d calendarui/commonutils/src/calenattachmentmodel.cpp --- a/calendarui/commonutils/src/calenattachmentmodel.cpp Thu Jul 15 18:37:27 2010 +0300 +++ b/calendarui/commonutils/src/calenattachmentmodel.cpp Thu Aug 19 09:53:43 2010 +0300 @@ -83,6 +83,10 @@ { iAttachInfoArray.ResetAndDestroy(); } + else + { + iAttachInfoArray.Close(); + } TRACE_EXIT_POINT; } @@ -405,7 +409,12 @@ if( iAttachInfoArray.Count() ) { iAttachInfoArray.ResetAndDestroy(); + } + else + { + iAttachInfoArray.Reset(); } + isAttachmentModelCleared = ETrue; TRACE_EXIT_POINT;