diff options
author | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-08-30 17:50:49 +0000 |
---|---|---|
committer | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-08-30 17:50:49 +0000 |
commit | 6eab03d60484cc530aa40c795f8f58c070532b10 (patch) | |
tree | 11ee9b3261a3e7c5709df91bdb39bb5ac6a22042 /TAO/tao/WrongTransactionC.cpp | |
parent | c636f264d41b9ce90c43fb3f4a8f977cb50d877c (diff) | |
download | ATCD-6eab03d60484cc530aa40c795f8f58c070532b10.tar.gz |
Replaced all 'new' with 'ACE_NEW*'.
Diffstat (limited to 'TAO/tao/WrongTransactionC.cpp')
-rw-r--r-- | TAO/tao/WrongTransactionC.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/TAO/tao/WrongTransactionC.cpp b/TAO/tao/WrongTransactionC.cpp index e85873c1b2a..2a62ed0aedc 100644 --- a/TAO/tao/WrongTransactionC.cpp +++ b/TAO/tao/WrongTransactionC.cpp @@ -57,7 +57,13 @@ void CORBA_WrongTransaction::_raise () // TAO extension - the _alloc method CORBA::Exception *CORBA_WrongTransaction::_alloc (void) { - return new CORBA_WrongTransaction; + CORBA::Exception *retval = 0; + + ACE_NEW_RETURN (retval, + CORBA_WrongTransaction, + 0); + + return retval; } #endif /* TAO_HAS_MINIMUM_CORBA */ |