telephonyserverplugins/common_tsy/commontsy/src/mmtsy/cmmfaxcalltsy.cpp
branchRCL_3
changeset 18 17af172ffa5f
parent 0 3553901f7fa8
child 19 630d2f34d719
equal deleted inserted replaced
17:1ac40e087278 18:17af172ffa5f
  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