equal
deleted
inserted
replaced
291 // -------------------------------------------------------------------------- |
291 // -------------------------------------------------------------------------- |
292 // |
292 // |
293 void CPbk2MultiAssignDataPhase::ContactOperationFailed |
293 void CPbk2MultiAssignDataPhase::ContactOperationFailed |
294 ( TContactOp /*aOpCode*/, TInt aErrorCode, TBool /*aErrorNotified*/ ) |
294 ( TContactOp /*aOpCode*/, TInt aErrorCode, TBool /*aErrorNotified*/ ) |
295 { |
295 { |
296 // Locking the contact failed |
|
297 if ( KErrInUse == aErrorCode ) |
|
298 { |
|
299 CCoeEnv::Static()->HandleError( aErrorCode ); |
|
300 } |
|
301 |
|
302 // If the contact operation failed, the iStoreContact is expected to be deleted, |
296 // If the contact operation failed, the iStoreContact is expected to be deleted, |
303 // otherwise it will lead to memory leak. |
297 // otherwise it will lead to memory leak. |
304 if ( iStoreContact ) |
298 if ( iStoreContact ) |
305 { |
299 { |
306 delete iStoreContact; |
300 delete iStoreContact; |