landmarks/locationlandmarks/server/src/EPos_CPosLmLocalAccessSubsession.cpp
branchRCL_3
changeset 44 2b4ea9893b66
parent 19 d6e4203b7ebe
child 45 6b6920c56e2f
equal deleted inserted replaced
42:02ba3f1733c6 44:2b4ea9893b66
   749         
   749         
   750         HBufC* lmBuf = HBufC::NewLC( nameLen );
   750         HBufC* lmBuf = HBufC::NewLC( nameLen );
   751         
   751         
   752         TPtr name( lmBuf->Des() );
   752         TPtr name( lmBuf->Des() );
   753         readStream.ReadL( name, nameLen );
   753         readStream.ReadL( name, nameLen );
   754 
   754         
   755         CleanupStack::Pop( lmBuf );//ownership of lmBuf is transferred in the call to UpdateL/InsertL
   755         CleanupStack::Pop( lmBuf );//ownership of lmBuf is transferred in the call to UpdateL/InsertL
   756         if ( aMessage.Int0() == EPosLmServerUpdateLandmarks ) 
   756 		if ( aMessage.Int0() == EPosLmServerUpdateLandmarks ) 
   757             {
   757             {
   758 //coverity[freed_arg : FALSE]
   758 //coverity[freed_arg : FALSE]
   759             index.UpdateL( id, lmBuf );
   759             index.UpdateL( id, lmBuf );
   760             }
   760             }
   761         else
   761         else