diff options
author | jtc <jtc@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2004-11-18 14:21:43 +0000 |
---|---|---|
committer | jtc <jtc@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2004-11-18 14:21:43 +0000 |
commit | eb4284edceccafe563677f1b9de852dd38bee4f1 (patch) | |
tree | 094b95635966253b91947c3cc560184e25d7fec3 /TAO/tao/IORManipulation/IORManipulation.cpp | |
parent | a26c8514c6e49d40d7958982fd5abfad8bb9405a (diff) | |
download | ATCD-eb4284edceccafe563677f1b9de852dd38bee4f1.tar.gz |
ChangeLogTag: Thu Nov 18 06:00:26 2004 J.T. Conklin <jtc@acorntoolworks.com>
Diffstat (limited to 'TAO/tao/IORManipulation/IORManipulation.cpp')
-rw-r--r-- | TAO/tao/IORManipulation/IORManipulation.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/TAO/tao/IORManipulation/IORManipulation.cpp b/TAO/tao/IORManipulation/IORManipulation.cpp index 814806ebba5..7a9e1cf18f3 100644 --- a/TAO/tao/IORManipulation/IORManipulation.cpp +++ b/TAO/tao/IORManipulation/IORManipulation.cpp @@ -213,7 +213,9 @@ TAO_IOR_Manipulation_impl::remove_profiles ( CORBA::Object_var new_obj = temp_obj; - ACE_CHECK_RETURN (CORBA::Object::_nil ()); + // Exception safety is no longer an issue by this point so release + // the TAO_Stub from the TAO_Stub_Auto_Ptr. + stub = safe_stub.release (); // Clean up in case of errors. if (CORBA::is_nil (new_obj.in ())) @@ -222,10 +224,6 @@ TAO_IOR_Manipulation_impl::remove_profiles ( CORBA::Object::_nil ()); } - // Exception safety is no longer an issue by this point so release - // the TAO_Stub from the TAO_Stub_Auto_Ptr. - stub = safe_stub.release (); - return new_obj._retn (); } |