diff -r be41ab7b952f -r 43658d24f35d voipplugins/sipconnectionprovider/src/scpsettinghandler.cpp --- a/voipplugins/sipconnectionprovider/src/scpsettinghandler.cpp Tue May 11 16:04:22 2010 +0300 +++ b/voipplugins/sipconnectionprovider/src/scpsettinghandler.cpp Tue May 25 12:31:20 2010 +0300 @@ -887,6 +887,8 @@ RArray< TUint32 >& aServiceIds ) const { SCPLOGSTRING2( "CScpSettingHandler::GetServiceIdsL sip id: %d", aSipId ); + + CleanupClosePushL( aServiceIds ); RArray profileIdArray; CleanupClosePushL( profileIdArray ); @@ -917,6 +919,7 @@ } CleanupStack::PopAndDestroy( &profileIdArray ); + CleanupStack::Pop( &aServiceIds ); } // -----------------------------------------------------------------------------