locationrequestmgmt/networkrequesthandler/src/privacyandlocationrequesthandler.cpp
branchRCL_3
changeset 52 29dbbeac905d
parent 0 9cfd9a3ee49c
child 54 0c2046328c85
equal deleted inserted replaced
39:a3482a8f15d8 52:29dbbeac905d
   280 		}
   280 		}
   281 
   281 
   282 	if (fsm)
   282 	if (fsm)
   283 		{
   283 		{
   284 		// Add the state machine to the buffer.
   284 		// Add the state machine to the buffer.
   285 		iFsmArray.Append(fsm);
   285 		TInt err = iFsmArray.Append(fsm);
       
   286 		if( err != KErrNone )
       
   287 			{
       
   288 			delete fsm;
       
   289 			return NULL;
       
   290 			}
   286 	
   291 	
   287 		iNumActiveSessions++; // conceptually, a session starts when a Fsm is created for it
   292 		iNumActiveSessions++; // conceptually, a session starts when a Fsm is created for it
   288 
   293 
   289 		}
   294 		}
   290 	
   295