--- a/messagingappbase/mce/src/MceMainViewListItemArray.cpp Fri Feb 19 22:47:38 2010 +0200
+++ b/messagingappbase/mce/src/MceMainViewListItemArray.cpp Fri Mar 12 15:42:19 2010 +0200
@@ -1184,6 +1184,7 @@
TInt emailcount=0;
TInt itemcount;
CMsvEntry* entry = iSession->GetEntryL( serviceId );
+ CleanupStack::PushL( entry );
itemcount=entry->Count();
//Find email messages
@@ -1244,7 +1245,7 @@
CleanupStack::PopAndDestroy( pop3selection );
}
CleanupStack::PopAndDestroy( smtpselection );
-
+ CleanupStack::PopAndDestroy( entry );
return visiblecount;
}
// End of File