--- a/calendarui/globaldata/src/calenglobaldata.cpp Tue Apr 27 16:36:22 2010 +0300
+++ b/calendarui/globaldata/src/calenglobaldata.cpp Tue May 11 16:12:24 2010 +0300
@@ -48,7 +48,7 @@
#include <CalendarInternalCRKeys.h>
#include <calenmulticalutil.h>
-#include <BAUTILS.H>
+#include <bautils.h>
#include <calensvrmissedalarmmanagerresource.rsg>
// Default Calendar database path
_LIT( KCalendarDatabaseFilePath, "c:calendar" );
@@ -1394,6 +1394,7 @@
// Set the modification time as home time.
keyBuff.Zero();
+ keyBuff.AppendNum(EModificationTime);
TTime modificationTime;
modificationTime.HomeTime();
TPckgC<TTime> pkgModificationTime(modificationTime);
@@ -1499,6 +1500,7 @@
RPointerArray<CCalCalendarInfo>& aCalendarInfoList )
{
TRACE_ENTRY_POINT;
+ CleanupClosePushL(aCalendarInfoList);
RFs fsSession;
CleanupClosePushL( fsSession );
RResourceFile resourceFile;
@@ -1545,6 +1547,7 @@
}
CleanupStack::PopAndDestroy(2);
+ CleanupStack::Pop(&aCalendarInfoList);
TRACE_EXIT_POINT;
}