calendarui/commonutils/src/calenattachmentmodel.cpp
branchRCL_3
changeset 28 96907930389d
parent 15 9711e452b5e9
--- 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;