diff -r 2709c04a4af5 -r 8b0c979bbe8c connectionmonitoring/connmon/connectionmonitor/src/ConnMonSess.cpp --- a/connectionmonitoring/connmon/connectionmonitor/src/ConnMonSess.cpp Fri Sep 03 09:38:26 2010 +0300 +++ b/connectionmonitoring/connmon/connectionmonitor/src/ConnMonSess.cpp Thu Sep 16 12:50:24 2010 +0300 @@ -2196,6 +2196,13 @@ } } } + else // ( rc != KErrNone ) + { + if ( ptrData ) + { + delete ptrData; + } + } break; } case EReqPluginGetQuery: @@ -2416,6 +2423,8 @@ if ( globalThBefore != globalThAfter ) { // Global threshold has changed -> send to plug-in engines + // Dead code in else-clause is for possible future use. Static analysis exception added. + // coverity[dead_error_line] if ( internal ) { if ( aValue == 1 ) @@ -2615,7 +2624,7 @@ // This method gets the bearer only for an internal connection. This is OK // since data volume events are not supported for external connections. - iCmServer->Iap()->GetBearer( aConnId, bearer, bearerInfo ); + (void) iCmServer->Iap()->GetBearer( aConnId, bearer, bearerInfo ); // Set minimum if ( bearer == EBearerWLAN || bearer == EBearerLAN ) @@ -2630,7 +2639,7 @@ { minimum = KMinimumWCDMADataThreshold; } - + // Check threshold if ( aThreshold < minimum ) {