mtpfws/mtpfw/src/cmtpdataprovider.cpp
branchRCL_3
changeset 27 81da3301b632
parent 24 523717cdb0ad
--- a/mtpfws/mtpfw/src/cmtpdataprovider.cpp	Tue May 25 13:35:25 2010 +0300
+++ b/mtpfws/mtpfw/src/cmtpdataprovider.cpp	Wed Jun 09 10:36:33 2010 +0300
@@ -556,7 +556,10 @@
         }
     else
         {
-        iCurrentTransactionPhase = iCurrentConnection->TransactionPhaseL(iCurrentRequest->Uint32(TMTPTypeRequest::ERequestSessionID));        
+        if (iCurrentRequest != NULL)
+            {
+            iCurrentTransactionPhase = iCurrentConnection->TransactionPhaseL(iCurrentRequest->Uint32(TMTPTypeRequest::ERequestSessionID));
+            }
         }
     __FLOG_VA((_L8("Current transaction phase = 0x%08X"), iCurrentTransactionPhase));