diff options
author | kirthika <kirthika@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-07-10 18:46:15 +0000 |
---|---|---|
committer | kirthika <kirthika@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-07-10 18:46:15 +0000 |
commit | d96a40884080a667a9424f2f8ea9cc3d68456abc (patch) | |
tree | 0cf15b7b0d5a00f407f930a9748f262fec3a63a9 | |
parent | b030df9041ffc3f47174b02126a86ece40997e9b (diff) | |
download | ATCD-d96a40884080a667a9424f2f8ea9cc3d68456abc.tar.gz |
the constructor for ClientRequest_Info now does a _duplicate before
storing the target object
-rw-r--r-- | TAO/tao/Request_Info.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/TAO/tao/Request_Info.cpp b/TAO/tao/Request_Info.cpp index f47eafeeab4..2d92703e7c6 100644 --- a/TAO/tao/Request_Info.cpp +++ b/TAO/tao/Request_Info.cpp @@ -29,7 +29,7 @@ TAO_ClientRequest_Info::TAO_ClientRequest_Info (const char * operation, CORBA::Environment &) : operation_ (operation), service_context_list_ (service_context_list), - target_ (target) + target_ (CORBA_Object::_duplicate (target)) { } @@ -37,7 +37,7 @@ CORBA::Object_ptr TAO_ClientRequest_Info::target (CORBA::Environment &) ACE_THROW_SPEC ((CORBA::SystemException)) { - return this->target_._retn (); + return this->target_.in (); } CORBA::Object_ptr TAO_ClientRequest_Info::effective_target (CORBA::Environment &) |