summaryrefslogtreecommitdiff
path: root/TAO/tao/Invocation.cpp
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>2000-06-09 22:39:35 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>2000-06-09 22:39:35 +0000
commit00cceece81d761fa0fd104bd38315c9a7a72ce88 (patch)
tree65fb3d47c0eab5445fb5b96b6b5981075b2e7d0f /TAO/tao/Invocation.cpp
parent045441640bd3a7cf9b658e7969fea33cc6616af5 (diff)
downloadATCD-00cceece81d761fa0fd104bd38315c9a7a72ce88.tar.gz
ChangeLogTag:Fri Jun 9 15:20:11 2000 Ossama Othman <ossama@uci.edu>
Diffstat (limited to 'TAO/tao/Invocation.cpp')
-rw-r--r--TAO/tao/Invocation.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/TAO/tao/Invocation.cpp b/TAO/tao/Invocation.cpp
index bf282267752..d535b9da333 100644
--- a/TAO/tao/Invocation.cpp
+++ b/TAO/tao/Invocation.cpp
@@ -518,11 +518,11 @@ TAO_GIOP_Invocation::location_forward (TAO_InputCDR &inp_stream,
// New for Multiple profile. Get the MProfile list from the
// forwarded object refererence
- this->stub_->add_forward_profiles (*stubobj->make_profiles ());
+ this->stub_->add_forward_profiles (stubobj->base_profiles ());
// store the new profile list and set the first forwarding profile
- // note: this has to be and is thread safe. Also make_profiles() returns
- // a pointer to a new MProfile object which we give to our
- // TAO_Stub.
+ // note: this has to be and is thread safe.
+ // @@ TAO_Stub::add_forward_profiles() already makes a copy of the
+ // MProfile, so do not make a copy here.
// @@ Why do we clear the environment?
// ACE_TRY_ENV.clear ();