locationrequestmgmt/networkrequesthandler/src/privacyandlocationrequesthandler.cpp
changeset 57 3267d9ea3e98
parent 48 81c9bee26a45
equal deleted inserted replaced
48:81c9bee26a45 57:3267d9ea3e98
   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