mmsengine/mmsmessage/src/mmsownnumber.cpp
branchRCL_3
changeset 60 7fdbb852d323
parent 57 ebe688cedc25
--- a/mmsengine/mmsmessage/src/mmsownnumber.cpp	Tue Aug 31 15:11:31 2010 +0300
+++ b/mmsengine/mmsmessage/src/mmsownnumber.cpp	Wed Sep 01 12:31:54 2010 +0100
@@ -252,7 +252,7 @@
         {
         // we found at least one match.
         // What do we do now...
-        // Analyze the result in detail or just say "This is our own number"...
+        // Analyse the result in detail or just say "This is our own number"...
         
         // First approximation: Say this is our own.
         // Actually exact match cases should be checked, too (short number)
@@ -521,9 +521,13 @@
         {
         iMatch = EFalse;
         iState = EMmsOwnNumberSearching;
-        iOperation = iContactManager->RetrieveContactL(
+		// Coverty fix, Forward NULL
+        if(iResultArray)
+        	{
+        	iOperation = iContactManager->RetrieveContactL(
                 iResultArray->At( iContactToMatch ),
                 *this);
+            }
         iStatus = KRequestPending;
         SetActive();
         }