--- a/agendainterface/agendautil/src/agendautil_p.cpp Thu May 27 12:51:15 2010 +0300
+++ b/agendainterface/agendautil/src/agendautil_p.cpp Fri Jun 11 13:37:54 2010 +0300
@@ -1717,6 +1717,11 @@
}
}
}
+ int count = instanceList.Count();
+ for (int i = count - 1; i >= 0; --i) {
+ CCalInstance *instance = instanceList[i];
+ delete instance;
+ }
CleanupStack::PopAndDestroy();
}
@@ -2470,6 +2475,11 @@
} else {
isEmpty = true;
}
+ int count = instanceList.Count();
+ for (int i = count - 1; i >= 0; --i) {
+ CCalInstance *instance = instanceList[i];
+ delete instance;
+ }
CleanupStack::PopAndDestroy();
return isEmpty;
}