satengine/SatServer/Commands/SetUpCallCmd/src/CSetUpCallHandler.cpp
branchRCL_3
changeset 8 1b9ee3c7442d
parent 0 ff3b6d0fd310
child 43 7d48bed6ce0c
equal deleted inserted replaced
7:7237db0d9fca 8:1b9ee3c7442d
   742     // Make the phone call parameters.
   742     // Make the phone call parameters.
   743     CAiwInternalDialData* dialData = CAiwInternalDialData::NewLC();
   743     CAiwInternalDialData* dialData = CAiwInternalDialData::NewLC();
   744 
   744 
   745     dialData->SetCallType( CAiwDialData::EAIWVoice );
   745     dialData->SetCallType( CAiwDialData::EAIWVoice );
   746     dialData->SetWindowGroup( AIWDialData::KAiwGoToIdle );
   746     dialData->SetWindowGroup( AIWDialData::KAiwGoToIdle );
       
   747     // coverity static analysis tool generates a false finding here 
       
   748     // eliminating that 
       
   749     // coverity[use_after_free]
   747     dialData->SetPhoneNumberL( telNumber );
   750     dialData->SetPhoneNumberL( telNumber );
   748     dialData->SetSATCall( ETrue );
   751     dialData->SetSATCall( ETrue );
   749     dialData->SetShowNumber( EFalse );
   752     dialData->SetShowNumber( EFalse );
       
   753     // coverity static analysis tool generates a false finding here 
       
   754     // eliminating that 
       
   755     // coverity[use_after_free]
   750     dialData->SetNameL( name );
   756     dialData->SetNameL( name );
   751     dialData->SetAllowMatch( EFalse );
   757     dialData->SetAllowMatch( EFalse );
   752     // Remove the redial mechanism from S60 5.x.
   758     // Remove the redial mechanism from S60 5.x.
   753     dialData->SetRedial( AIWDialDataExt::KAIWRedialOff );
   759     dialData->SetRedial( AIWDialDataExt::KAIWRedialOff );
   754 
   760 
   764     if ( AIWInternalDialData::KAiwBearerLength >=
   770     if ( AIWInternalDialData::KAiwBearerLength >=
   765          iSetUpCallData.iCapabilityConfigParams.Length() )
   771          iSetUpCallData.iCapabilityConfigParams.Length() )
   766         {
   772         {
   767         LOG( NORMAL, 
   773         LOG( NORMAL, 
   768         "SETUPCALL: CSetUpCallHandler::DoSetupCallL SetBearerL" )
   774         "SETUPCALL: CSetUpCallHandler::DoSetupCallL SetBearerL" )
       
   775         // coverity static analysis tool generates a false finding here 
       
   776         // eliminating that
       
   777         // coverity[use_after_free]
   769         dialData->SetBearerL( iSetUpCallData.iCapabilityConfigParams );
   778         dialData->SetBearerL( iSetUpCallData.iCapabilityConfigParams );
   770         }
   779         }
   771 
   780 
   772     if ( AIWInternalDialData::KAiwSubAddressLength >=
   781     if ( AIWInternalDialData::KAiwSubAddressLength >=
   773          iSetUpCallData.iSubAddress.Length() )
   782          iSetUpCallData.iSubAddress.Length() )
   774         {
   783         {
   775         LOG( NORMAL, 
   784         LOG( NORMAL, 
   776         "SETUPCALL: CSetUpCallHandler::DoSetupCallL SetSubAddressL" )
   785         "SETUPCALL: CSetUpCallHandler::DoSetupCallL SetSubAddressL" )
       
   786         // coverity static analysis tool generates a false finding here 
       
   787         // eliminating that 
       
   788         // coverity[use_after_free]
   777         dialData->SetSubAddressL( iSetUpCallData.iSubAddress );
   789         dialData->SetSubAddressL( iSetUpCallData.iSubAddress );
   778         }
   790         }
   779 
   791 
   780     CAiwGenericParamList& paramList = iServiceHandler->InParamListL();
   792     CAiwGenericParamList& paramList = iServiceHandler->InParamListL();
       
   793     // coverity static analysis tool generates a false finding here 
       
   794     // eliminating that
       
   795     // coverity[use_after_free]
   781     dialData->FillInParamListL( paramList );
   796     dialData->FillInParamListL( paramList );
   782 
   797 
   783     iServiceHandler->ExecuteServiceCmdL(
   798     iServiceHandler->ExecuteServiceCmdL(
   784         KAiwCmdCall,
   799         KAiwCmdCall,
   785         paramList,
   800         paramList,