--- a/phonebookui/Phonebook2/xSPExtensionManager/src/CxSPContactManager.cpp Tue Apr 27 16:23:35 2010 +0300
+++ b/phonebookui/Phonebook2/xSPExtensionManager/src/CxSPContactManager.cpp Tue May 11 16:00:21 2010 +0300
@@ -138,6 +138,7 @@
void CxSPContactManager::GetMappedPbkContactsL( TUint32 aId, TInt32 axSPContactId,
RPointerArray<MVPbkContactLink>& aPbkContactLinks ) const
{
+ CleanupClosePushL( aPbkContactLinks );
TInt count = iContactMap.Count();
for( TInt i = 0; i < count; i++ )
{
@@ -147,12 +148,14 @@
User::LeaveIfError( aPbkContactLinks.Append( map->iPbkContactLink ) );
}
}
+ CleanupStack::Pop();
}
void CxSPContactManager::GetMappedxSPContactsL( TUint32 aId,
const MVPbkContactLink& aPbkContactLink,
RArray<TInt32>& axSPContactIds ) const
{
+ CleanupClosePushL( axSPContactIds );
const TInt count = iContactMap.Count();
for( TInt i = 0; i < count; i++ )
{
@@ -165,6 +168,7 @@
}
}
}
+ CleanupStack::Pop();
}
void CxSPContactManager::ViewActivatedL( const TVwsViewId& aPrevViewId,