diff -r 02ba3f1733c6 -r 2b4ea9893b66 locationtriggering/ltcontainer/src/lbtramtriggersmanager.cpp --- a/locationtriggering/ltcontainer/src/lbtramtriggersmanager.cpp Thu Aug 19 10:20:18 2010 +0300 +++ b/locationtriggering/ltcontainer/src/lbtramtriggersmanager.cpp Tue Aug 31 15:37:04 2010 +0300 @@ -79,7 +79,12 @@ { for( TInt i = 0;iTriggerEntry()->Id(); TSecureId sid = entry->ExtendedTriggerInfo()->OwnerSid(); info.iOwner.iUid= (TInt)(sid.iId); - iIdArray.Append(info); + iIdArray.AppendL(info); /* contTrigEntry is the trigger entry which is a part of * the container trigger entry retrieved from the tree @@ -782,7 +791,9 @@ break; } } - newHybridArea.Append( geoAreaToArray ); + CleanupStack::PushL( geoAreaToArray ); + newHybridArea.AppendL( geoAreaToArray ); + CleanupStack::Pop( geoAreaToArray ); } // The new hybrid array is ready. Now set the array into the geo area Hybrid containerHybrid->SetHybridArea( newHybridArea ); @@ -1250,7 +1261,7 @@ MLbtTriggerStore::TLbtTriggerModifiedInfo info; info.iTriggerId = aTriggerId; info.iAreaType = areaType; - iIdArray.Append(info); + iIdArray.AppendL(info); } iTriggerIdTree->DeleteFromTreeL(aTriggerId); }