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