mmsengine/mmsmessage/src/mmsownnumber.cpp
changeset 79 2981cb3aa489
parent 23 238255e8b033
--- a/mmsengine/mmsmessage/src/mmsownnumber.cpp	Mon May 03 12:29:07 2010 +0300
+++ b/mmsengine/mmsmessage/src/mmsownnumber.cpp	Wed Nov 03 09:52:46 2010 +0530
@@ -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();
         }