telephonyserverplugins/common_tsy/commontsy/src/mmtsy/cmmfaxcalltsy.cpp
branchRCL_3
changeset 82 042fd2753b8f
parent 66 07a122eea281
equal deleted inserted replaced
74:9200f38b1324 82:042fd2753b8f
  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 
  1467 // coverity [resource_leak]
  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]
       
  1482         }
  1481         }
  1483 
  1482 
  1484     return KErrNone;
  1483     return KErrNone;
  1485     }
  1484     }
  1486 
  1485