locationrequestmgmt/networkrequesthandler/src/privacyandlocationrequesthandler.cpp
equal
deleted
inserted
replaced
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 |