--- a/mmsengine/mmssettings/src/cmmsaccounts.cpp Tue May 11 16:10:04 2010 +0300
+++ b/mmsengine/mmssettings/src/cmmsaccounts.cpp Tue May 25 12:38:02 2010 +0300
@@ -249,6 +249,7 @@
*/
EXPORT_C void CMmsAccounts::GetMMSAccountsL(RArray<TMmsAccountId>& aAccountIds) const
{
+ CleanupClosePushL( aAccountIds );
aAccountIds.Reset();
RArray<TUint32> accountIds;
CleanupClosePushL(accountIds);
@@ -268,7 +269,8 @@
aAccountIds.AppendL(accountId);
}
- CleanupStack::PopAndDestroy(&accountIds);
+ CleanupStack::PopAndDestroy(&accountIds);
+ CleanupStack::Pop(&aAccountIds); // aAccountIds
}
/**