telephonyserverplugins/common_tsy/commontsy/src/mmtsy/cmmfaxcalltsy.cpp
changeset 53 12b52b1a573e
parent 44 8b72faa1200f
child 73 70d75957b98f
equal deleted inserted replaced
52:60785a088077 53:12b52b1a573e
  1459         }
  1459         }
  1460     else 
  1460     else 
  1461         {
  1461         {
  1462         CAcquireEntry* entry = NULL;
  1462         CAcquireEntry* entry = NULL;
  1463         // Call is owned, add this req handle to acquire list
  1463         // Call is owned, add this req handle to acquire list
  1464 // coverity [resource_leak]
  1464 
  1465 // TRAP macro releases memory while exception caught and trapError != KErrNone
  1465         // TRAP macro releases memory while exception caught and trapError != KErrNone
  1466         TRAP( trapError,
  1466         TRAP( trapError,
  1467             entry = CAcquireEntry::NewL( aTsyReqHandle );
  1467             entry = CAcquireEntry::NewL( aTsyReqHandle );
  1468             );
  1468             );
  1469         if ( trapError != KErrNone )
  1469         if ( trapError != KErrNone )
  1470             {
  1470             {
  1473             }
  1473             }
  1474         else if ( NULL != entry )
  1474         else if ( NULL != entry )
  1475             {
  1475             {
  1476             iList->iAcquireList.AddLast( *entry );
  1476             iList->iAcquireList.AddLast( *entry );
  1477             }
  1477             }
       
  1478         // coverity[leaked_storage]
  1478         }
  1479         }
  1479 
  1480 
  1480     return KErrNone;
  1481     return KErrNone;
  1481     }
  1482     }
  1482 
  1483