summaryrefslogtreecommitdiff
path: root/TAO/tao/Reply_Dispatcher.cpp
diff options
context:
space:
mode:
authormk1 <mk1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-09-03 12:00:19 +0000
committermk1 <mk1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-09-03 12:00:19 +0000
commit039a69f6da1ae69eb1ea6a89d24de395a19ca45c (patch)
tree21b002651b1275fadbb1bcbd7748c09946f1c6f6 /TAO/tao/Reply_Dispatcher.cpp
parente57abfb75576ecbd168e8859ea4428ef67c59cd6 (diff)
downloadATCD-039a69f6da1ae69eb1ea6a89d24de395a19ca45c.tar.gz
ChangeLogTag: Thu Sep 03 05:00:00 1999 Michael Kircher <Michael.Kircher@mchp.siemens.de>
Diffstat (limited to 'TAO/tao/Reply_Dispatcher.cpp')
-rw-r--r--TAO/tao/Reply_Dispatcher.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/TAO/tao/Reply_Dispatcher.cpp b/TAO/tao/Reply_Dispatcher.cpp
index 1285f34eef9..7e347c6fc17 100644
--- a/TAO/tao/Reply_Dispatcher.cpp
+++ b/TAO/tao/Reply_Dispatcher.cpp
@@ -161,6 +161,7 @@ TAO_Asynch_Reply_Dispatcher::dispatch_reply (CORBA::ULong reply_status,
IOP::ServiceContextList &reply_ctx,
TAO_GIOP_Message_State *message_state)
{
+ // @@ Michael: Carlos, can we remove these?
// this->reply_received_ = 1;
this->reply_status_ = reply_status;
@@ -172,7 +173,11 @@ TAO_Asynch_Reply_Dispatcher::dispatch_reply (CORBA::ULong reply_status,
CORBA::ULong max = reply_ctx.maximum ();
CORBA::ULong len = reply_ctx.length ();
IOP::ServiceContext* context_list = reply_ctx.get_buffer (1);
- this->reply_service_info_.replace (max, len, context_list, 1);
+ // @@ Michael: Carlos, why would we release the old buffer?
+ // By releasing it I got a "acces violation". Could
+ // you tell me the "right thing"TM ?
+ // this->reply_service_info_.replace (max, len, context_list, 1);
+ this->reply_service_info_.replace (max, len, context_list, 0);
if (TAO_debug_level >= 4)
{