Prevent issue fix
authorchetan.c87 <chetan.c87@samsung.com>
Tue, 22 Oct 2013 14:44:49 +0000 (20:14 +0530)
committerchetan.c87 <chetan.c87@samsung.com>
Tue, 22 Oct 2013 14:44:49 +0000 (20:14 +0530)
Change-Id: I2606e70ce2a20a471b99a0aa56a24071f6203d8c
Signed-off-by: chetan.c87 <chetan.c87@samsung.com>
src/CallTelephonyManager.cpp

index 1709b2a..9815e9c 100644 (file)
@@ -1356,6 +1356,10 @@ TelephonyManager::HandleActiveConferenceCallbackResponse(TapiHandle* pHandle, in
        TelephonyManager* pTelManager = (TelephonyManager*) pUserData;
        AppCallInfo confCallToHold;
        IListT<AppCallInfo>* pCallList = pTelManager->__pActiveCallList->GetValuesN();
+       if(pCallList == null)
+       {
+               return;
+       }
        int confCallCount = pCallList->GetCount();
 
        for (int index = 0; index < confCallCount; index++)
@@ -1392,6 +1396,10 @@ TelephonyManager::HandleHoldConferenceCallbackResponse(TapiHandle* pHandle, int
        TelephonyManager* pTelManager = (TelephonyManager*) pUserData;
        AppCallInfo confCallToHold;
        IListT<AppCallInfo>* pCallList = pTelManager->__pActiveCallList->GetValuesN();
+       if(pCallList == null)
+       {
+               return;
+       }
        int confCallCount = pCallList->GetCount();
 
        for (int index = 0; index < confCallCount; index++)