diff options
author | Ossama Othman <ossama-othman@users.noreply.github.com> | 1999-12-13 00:03:12 +0000 |
---|---|---|
committer | Ossama Othman <ossama-othman@users.noreply.github.com> | 1999-12-13 00:03:12 +0000 |
commit | 771d87be6c02581f76760dbb132d1716e0e56a2f (patch) | |
tree | f97e4f5c17c59a10e8acd0b52ef23604d6e64cb3 | |
parent | 77d7b106d0f2ca96df39686b8671988d24aef902 (diff) | |
download | ATCD-771d87be6c02581f76760dbb132d1716e0e56a2f.tar.gz |
ChangeLogTag:Sun Dec 12 18:00:48 1999 Ossama Othman <othman@cs.wustl.edu>
-rw-r--r-- | TAO/tao/Acceptor_Registry.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/TAO/tao/Acceptor_Registry.cpp b/TAO/tao/Acceptor_Registry.cpp index 90f88d77af1..cf316bd0ed8 100644 --- a/TAO/tao/Acceptor_Registry.cpp +++ b/TAO/tao/Acceptor_Registry.cpp @@ -107,9 +107,12 @@ TAO_Acceptor_Registry::open (TAO_ORB_Core *orb_core, // The array containing the TAO_Acceptors will never contain more // than the number of endpoints stored in TAO_ORB_Parameters. if (this->acceptors_ == 0) - ACE_NEW_THROW_EX (this->acceptors_, - TAO_Acceptor *[endpoint_set.size ()], - CORBA::NO_MEMORY ()); + { + ACE_NEW_THROW_EX (this->acceptors_, + TAO_Acceptor *[endpoint_set.size ()], + CORBA::NO_MEMORY ()); + ACE_CHECK_RETURN (-1); + } ACE_Auto_Basic_Array_Ptr <char> addr_str; |