mobilemessaging/audiomsg/src/audiomessageappui.cpp
changeset 2 0bf1d54f37d9
parent 1 d09ac5c1e252
child 12 caea42e26caa
--- a/mobilemessaging/audiomsg/src/audiomessageappui.cpp	Thu Jan 07 12:45:05 2010 +0200
+++ b/mobilemessaging/audiomsg/src/audiomessageappui.cpp	Mon Jan 18 20:16:40 2010 +0200
@@ -2715,12 +2715,13 @@
     	}
     	
     iWaitDialog->SetCallback( this );	
-    iWaitDialog->SetTextL( *string );
-    iWaitResId = aResourceId;
+    // Coverty fix, Forward NULL , http://ousrv057/cov.cgi?cid=35709 
     if (string)
         {
+        iWaitDialog->SetTextL( *string );
         CleanupStack::PopAndDestroy( string );
         }
+    iWaitResId = aResourceId;
     iWaitDialog->PrepareLC( waitNoteResource );
 
     AMSLOGGER_WRITE( "CAudioMessageAppUi::ShowWaitNoteL <<" );