phoneclientserver/phoneclient/Src/UssdWrapper/CPhCltUssdImp.cpp
branchRCL_3
changeset 3 a4a774cb6ea7
parent 0 ff3b6d0fd310
child 43 7d48bed6ce0c
--- a/phoneclientserver/phoneclient/Src/UssdWrapper/CPhCltUssdImp.cpp	Tue Feb 02 01:11:09 2010 +0200
+++ b/phoneclientserver/phoneclient/Src/UssdWrapper/CPhCltUssdImp.cpp	Fri Feb 19 23:21:58 2010 +0200
@@ -580,12 +580,15 @@
 
     // Set this active object to wait the completion of the send request.
     iWait->Start();
-
-    // If not deleted:
-    if ( iWait )
+    
+    // Need to check iWait handle here because the destructor may be called
+    // while pending for completion of the send request.
+    // coverity[check_after_deref]
+    if( iWait )
         {
         iSendError = NULL;
         }
+    
     return error;
     }