equal
deleted
inserted
replaced
1462 } |
1462 } |
1463 else |
1463 else |
1464 { |
1464 { |
1465 CAcquireEntry* entry = NULL; |
1465 CAcquireEntry* entry = NULL; |
1466 // Call is owned, add this req handle to acquire list |
1466 // Call is owned, add this req handle to acquire list |
1467 // coverity [resource_leak] |
1467 |
1468 // TRAP macro releases memory while exception caught and trapError != KErrNone |
1468 // TRAP macro releases memory while exception caught and trapError != KErrNone |
1469 TRAP( trapError, |
1469 TRAP( trapError, |
1470 entry = CAcquireEntry::NewL( aTsyReqHandle ); |
1470 entry = CAcquireEntry::NewL( aTsyReqHandle ); |
1471 ); |
1471 ); |
1472 if ( trapError != KErrNone ) |
1472 if ( trapError != KErrNone ) |
1473 { |
1473 { |
1476 } |
1476 } |
1477 else if ( NULL != entry ) |
1477 else if ( NULL != entry ) |
1478 { |
1478 { |
1479 iList->iAcquireList.AddLast( *entry ); |
1479 iList->iAcquireList.AddLast( *entry ); |
1480 } |
1480 } |
|
1481 // coverity[leaked_storage] |
1481 } |
1482 } |
1482 |
1483 |
1483 return KErrNone; |
1484 return KErrNone; |
1484 } |
1485 } |
1485 |
1486 |