diff options
Diffstat (limited to 'TAO/tao/TAO_AMH_Response_Handler.cpp')
-rw-r--r-- | TAO/tao/TAO_AMH_Response_Handler.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/TAO/tao/TAO_AMH_Response_Handler.cpp b/TAO/tao/TAO_AMH_Response_Handler.cpp index fafe21922d4..0da44411033 100644 --- a/TAO/tao/TAO_AMH_Response_Handler.cpp +++ b/TAO/tao/TAO_AMH_Response_Handler.cpp @@ -16,14 +16,12 @@ TAO_AMH_Response_Handler::TAO_AMH_Response_Handler () exception_type_ (TAO_GIOP_NO_EXCEPTION), once_only_(0) { - tao_out_ = new TAO_OutputCDR(); } TAO_AMH_Response_Handler::~TAO_AMH_Response_Handler (void) { // release the transport TAO_Transport::release (transport_); - delete tao_out_; } @@ -91,7 +89,7 @@ TAO_AMH_Response_Handler::init_reply (void) } ACE_DEBUG ((LM_DEBUG, ACE_TEXT("\tgenerating reply header ... \n"))); - this->mesg_base_->generate_reply_header (*(this->tao_out_), + this->mesg_base_->generate_reply_header (this->_tao_out_, reply_params); ACE_DEBUG ((LM_DEBUG, ACE_TEXT("Done Initialising RH. \n"))); } @@ -110,7 +108,7 @@ void TAO_AMH_Response_Handler::send_reply (void) ACE_DEBUG ((LM_DEBUG, ACE_TEXT("TAO_RH sending message ... \n"))); // Send the message. - int result = this->transport_->send_message (*this->tao_out_); + int result = this->transport_->send_message (this->_tao_out_); if (result == -1) { |