--- 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;
}