landmarks/locationlandmarks/server/src/EPos_CPosLmNameIndex.cpp
branchRCL_3
changeset 16 6fcbaa43369c
parent 0 667063e416a2
child 19 d6e4203b7ebe
child 22 4c4ed41530db
--- a/landmarks/locationlandmarks/server/src/EPos_CPosLmNameIndex.cpp	Mon Mar 15 12:42:19 2010 +0200
+++ b/landmarks/locationlandmarks/server/src/EPos_CPosLmNameIndex.cpp	Wed Mar 31 22:18:21 2010 +0300
@@ -344,7 +344,8 @@
             item->SetValid();
             CleanupStack::PopAndDestroy( name );
             }
-
+				    //coverity[check_return :FALSE]
+    //coverity[unchecked_value :FALSE]
         iTable.NextL();
         iTablePosition++;
         }
@@ -448,7 +449,9 @@
 //
 void CPosLmNameIndex::InsertL( TPosLmItemId aLmid, HBufC* aName )
     {
-    DoInsertL( aLmid, aName );
+	//coverity[ alloc_fn : FALSE ]
+   DoInsertL( aLmid, aName );
+
     }
 
 //--------------------------------------------------------------------
@@ -539,7 +542,9 @@
 void CPosLmNameIndex::UpdateL( TPosLmItemId aId, const TDesC& aName )
     {
     HBufC* name = aName.AllocLC();
+//coverity[freed_arg : FALSE]
     UpdateL( aId, name );
+//coverity[pass_freed_arg : FALSE]
     CleanupStack::Pop( name );
     }