supl/locationomasuplprotocolhandler/asnconverterpluginapi/src/epos_comasupllocationidver2.cpp
--- a/supl/locationomasuplprotocolhandler/asnconverterpluginapi/src/epos_comasupllocationidver2.cpp Thu Aug 19 10:20:18 2010 +0300
+++ b/supl/locationomasuplprotocolhandler/asnconverterpluginapi/src/epos_comasupllocationidver2.cpp Tue Aug 31 15:37:04 2010 +0300
@@ -85,6 +85,7 @@
EXPORT_C COMASuplLocationIdVer2* COMASuplLocationIdVer2::CloneL()
{
COMASuplLocationIdVer2* retLocationId = COMASuplLocationIdVer2::NewL();
+ CleanupStack::PushL( retLocationId );
if(iIsV2ExtnSet)
{
retLocationId->COMASuplLocationIdVer2::SetVer2CellInfo(iOMASuplVer2CellInfoExtn);
@@ -111,6 +112,7 @@
break;
}
+ CleanupStack::Pop(retLocationId);
return retLocationId;
}
// -----------------------------------------------------------------------------
@@ -146,7 +148,8 @@
// TOMASuplReportedLocation::SetLocationData(TOMASuplLocationData aLocationData)
// (other items were commented in a header).
// ---------------------------------------------------------------------------
-//
+
+//coverity[pass_by_value]
EXPORT_C void TOMASuplReportedLocation::SetLocationData(TOMASuplLocationData aLocationData)
{
iLocationData = aLocationData;