locationrequestmgmt/networkrequesthandler/src/privacyandlocationrequesthandler.cpp
changeset 60 9a7e3d5f461a
parent 51 95c570bf4a05
equal deleted inserted replaced
51:95c570bf4a05 60:9a7e3d5f461a
   310 		}
   310 		}
   311 
   311 
   312 	if (fsm)
   312 	if (fsm)
   313 		{
   313 		{
   314 		// Add the state machine to the buffer.
   314 		// Add the state machine to the buffer.
   315 		iFsmArray.Append(fsm);
   315 		TInt err = iFsmArray.Append(fsm);
       
   316 		if( err != KErrNone )
       
   317 			{
       
   318 			delete fsm;
       
   319 			return NULL;
       
   320 			}
   316 	
   321 	
   317 		iNumActiveSessions++; // conceptually, a session starts when a Fsm is created for it
   322 		iNumActiveSessions++; // conceptually, a session starts when a Fsm is created for it
   318 
   323 
   319 		}
   324 		}
   320 	
   325