telephonyserverplugins/common_tsy/commontsy/src/mmtsy/cmmdatacalltsy.cpp
branchRCL_3
changeset 82 042fd2753b8f
parent 66 07a122eea281
equal deleted inserted replaced
74:9200f38b1324 82:042fd2753b8f
  1930         }
  1930         }
  1931     else 
  1931     else 
  1932         {
  1932         {
  1933         CAcquireEntry* entry = NULL;
  1933         CAcquireEntry* entry = NULL;
  1934         // Call is owned, add this req handle to acquire list
  1934         // Call is owned, add this req handle to acquire list
  1935 
  1935 // coverity [resource_leak]
  1936 // TRAP macro releases memory while exception caught and trapError != KErrNone
  1936 // TRAP macro releases memory while exception caught and trapError != KErrNone
  1937         TRAP( trapError, ( entry = CAcquireEntry::NewL( aTsyReqHandle ) ) );
  1937         TRAP( trapError, ( entry = CAcquireEntry::NewL( aTsyReqHandle ) ) );
  1938         if ( trapError != KErrNone )
  1938         if ( trapError != KErrNone )
  1939             {
  1939             {
  1940             //error handling. Object cannot be created.
  1940             //error handling. Object cannot be created.
  1942             }
  1942             }
  1943         else if ( NULL != entry )
  1943         else if ( NULL != entry )
  1944             {
  1944             {
  1945             iList->iAcquireList.AddLast( *entry );
  1945             iList->iAcquireList.AddLast( *entry );
  1946             }
  1946             }
  1947         // coverity[leaked_storage]
       
  1948         }
  1947         }
  1949 
  1948 
  1950     return KErrNone;
  1949     return KErrNone;
  1951     }
  1950     }
  1952 
  1951