diff -r 02ba3f1733c6 -r 2b4ea9893b66 locationtriggering/ltclientlib/src/lbtcelloperation.cpp --- a/locationtriggering/ltclientlib/src/lbtcelloperation.cpp Thu Aug 19 10:20:18 2010 +0300 +++ b/locationtriggering/ltclientlib/src/lbtcelloperation.cpp Tue Aug 31 15:37:04 2010 +0300 @@ -123,6 +123,7 @@ { geoCell = CLbtGeoWcdmaCell::NewL(); } + CleanupStack::PushL( geoCell ); geoCell->SetNetworkType( iNetworkMode ); geoCell->SetNetworkCountryCode( iNwInfo.iCountryCode ); geoCell->SetNetworkIdentityCode( iNwInfo.iNetworkId ); @@ -137,7 +138,7 @@ { if( iCellInfo.iGsmCellInfo.iNmr[i].iBSIC != -1 ) { - bsicArray.Append( iCellInfo.iGsmCellInfo.iNmr[i].iBSIC ); + bsicArray.AppendL( iCellInfo.iGsmCellInfo.iNmr[i].iBSIC ); } } gsmCell->SetBsic( bsicArray ); @@ -169,13 +170,14 @@ TLbtWcdmaCellInfo::TLbtCellMeasuredResult cellMsr; cellMsr.iEcNo = ecNo; cellMsr.iRscp = rscp; - wcdmaCellInfo.iMeasurementResult.Append(cellMsr); + wcdmaCellInfo.iMeasurementResult.AppendL(cellMsr); } } } wcdmaCell->SetWcdmaCellInfo(wcdmaCellInfo); geoCell = wcdmaCell; } + CleanupStack::Pop( geoCell ); *(iArea) = geoCell; TRequestStatus* status = &iClientStatus; User::RequestComplete( status, iStatus.Int() );