diff -r e175e2ba2fb0 -r 3efc7a0e8755 locationtriggering/ltserver/ltserverlogic/src/lbtappchangehandler.cpp --- a/locationtriggering/ltserver/ltserverlogic/src/lbtappchangehandler.cpp Fri Jul 23 19:40:48 2010 +0530 +++ b/locationtriggering/ltserver/ltserverlogic/src/lbtappchangehandler.cpp Fri Aug 06 19:34:22 2010 +0530 @@ -148,7 +148,12 @@ TLbtAppInfo appInfo = iCurrentInstalledApps[i]; // The removed application resided in the MMC card - iAppList.Append( appInfo ); + TInt error = iAppList.Append( appInfo ); + if( error != KErrNone ) + { + LOG1("Failed to append appInfo:%d",error); + return; + } // Check if the application resides in MMC if( appInfo.iFullName.FindC(iMMCDriveChar) >= 0 ) @@ -201,7 +206,12 @@ if( appInfo.iFullName.FindC( iMMCDriveChar ) >= 0 ) { // Append to the array only if the application resides on the MMC - iAppList.Append( appInfo ); + TInt error = iAppList.Append( appInfo ); + if( error != KErrNone ) + { + LOG1("Failed to append appInfo to the array:%d",error); + return; + } } } } @@ -314,7 +324,12 @@ for( TInt i=0;iTriggerEntry()->Id()); + triggerIds.AppendL(iTriggerEntries[i]->TriggerEntry()->Id()); } TLbtTriggerDynamicInfo::TLbtTriggerValidity validity;