summaryrefslogtreecommitdiff
path: root/TAO/tests/Portable_Interceptors/ForwardRequest/Server_Request_Interceptor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/Portable_Interceptors/ForwardRequest/Server_Request_Interceptor.cpp')
-rw-r--r--TAO/tests/Portable_Interceptors/ForwardRequest/Server_Request_Interceptor.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/TAO/tests/Portable_Interceptors/ForwardRequest/Server_Request_Interceptor.cpp b/TAO/tests/Portable_Interceptors/ForwardRequest/Server_Request_Interceptor.cpp
index 8d1e4681401..d988d9f5ab2 100644
--- a/TAO/tests/Portable_Interceptors/ForwardRequest/Server_Request_Interceptor.cpp
+++ b/TAO/tests/Portable_Interceptors/ForwardRequest/Server_Request_Interceptor.cpp
@@ -15,11 +15,6 @@ Server_Request_Interceptor::Server_Request_Interceptor (void)
Server_Request_Interceptor::~Server_Request_Interceptor (void)
{
- ACE_DEBUG ((LM_DEBUG,
- "******* IN ~Server_Request_Interceptor ******\n"));
-
- CORBA::release (this->obj_[0]);
- CORBA::release (this->obj_[1]);
}
void
@@ -50,6 +45,8 @@ void
Server_Request_Interceptor::destroy (TAO_ENV_SINGLE_ARG_DECL_NOT_USED)
ACE_THROW_SPEC ((CORBA::SystemException))
{
+ CORBA::release (this->obj_[0]);
+ CORBA::release (this->obj_[1]);
}
void