summaryrefslogtreecommitdiff
path: root/TAO/tao/WrongTransactionC.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/WrongTransactionC.cpp')
-rw-r--r--TAO/tao/WrongTransactionC.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/TAO/tao/WrongTransactionC.cpp b/TAO/tao/WrongTransactionC.cpp
index 2a62ed0aedc..e85873c1b2a 100644
--- a/TAO/tao/WrongTransactionC.cpp
+++ b/TAO/tao/WrongTransactionC.cpp
@@ -57,13 +57,7 @@ void CORBA_WrongTransaction::_raise ()
// TAO extension - the _alloc method
CORBA::Exception *CORBA_WrongTransaction::_alloc (void)
{
- CORBA::Exception *retval = 0;
-
- ACE_NEW_RETURN (retval,
- CORBA_WrongTransaction,
- 0);
-
- return retval;
+ return new CORBA_WrongTransaction;
}
#endif /* TAO_HAS_MINIMUM_CORBA */