--- a/calendarengines/versit2/src/ICalValue.cpp Tue Apr 27 16:36:22 2010 +0300
+++ b/calendarengines/versit2/src/ICalValue.cpp Tue May 11 16:12:24 2010 +0300
@@ -26,6 +26,7 @@
// User includes.
#include "ICalKeyWords.h" // Literals
#include "ICalRuleSegment.h" // CICalRuleSegment
+#include "CleanupPointerArray.h" // For TCleanupPointerArray
// Constants.
@@ -814,7 +815,7 @@
}
TUint charNum(0);
-
+ CleanupPointerArrayPushL(aRuleSegmentArray);
do
{
// Create a rule segment from characters charNum to nextSemiColon
@@ -847,6 +848,7 @@
}
while (charNum < iValue->Length());
+ CleanupStack::Pop(&aRuleSegmentArray);
TRACE_EXIT_POINT;
}