calendarui/globaldata/src/calenglobaldata.cpp
branchRCL_3
changeset 25 bf573002ff72
parent 20 9c5b1510919f
child 27 aba12c885d83
--- a/calendarui/globaldata/src/calenglobaldata.cpp	Wed Jun 09 09:40:23 2010 +0300
+++ b/calendarui/globaldata/src/calenglobaldata.cpp	Mon Jun 21 15:38:59 2010 +0300
@@ -330,6 +330,11 @@
         delete iCalSession;
         }
     
+   if (iCalendarInfoList.Count())
+       {
+       iCalendarInfoList.ResetAndDestroy();
+       }
+   
     if( iFileMappingArray.Count() )
         {
         iFileMappingArray.ResetAndDestroy();
@@ -341,11 +346,6 @@
 
     Dll::SetTls(NULL);
 
-    if (iCalendarInfoList.Count())
-        {
-        iCalendarInfoList.ResetAndDestroy();
-        }
-
     if (iCalendarsSession)
         {
         delete iCalendarsSession;