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
commit6eab03d60484cc530aa40c795f8f58c070532b10 (patch)
tree11ee9b3261a3e7c5709df91bdb39bb5ac6a22042 /TAO/tao/WrongTransactionC.cpp
parentc636f264d41b9ce90c43fb3f4a8f977cb50d877c (diff)
downloadATCD-6eab03d60484cc530aa40c795f8f58c070532b10.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 */