summaryrefslogtreecommitdiff
path: root/TAO/tao/WrongTransactionC.cpp
diff options
context:
space:
mode:
authorparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-08-30 17:50:49 +0000
committerparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-08-30 17:50:49 +0000
commitae74e9316dc248c9280f7726813fb18957ef3798 (patch)
tree11ee9b3261a3e7c5709df91bdb39bb5ac6a22042 /TAO/tao/WrongTransactionC.cpp
parenta099a0d189f131d049ea63ac99bea7431f5087a3 (diff)
downloadATCD-ae74e9316dc248c9280f7726813fb18957ef3798.tar.gz
Replaced all 'new' with 'ACE_NEW*'.
Diffstat (limited to 'TAO/tao/WrongTransactionC.cpp')
-rw-r--r--TAO/tao/WrongTransactionC.cpp8
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 */