diff options
Diffstat (limited to 'TAO/tao/Strategies/UIOP_Connector.cpp')
-rw-r--r-- | TAO/tao/Strategies/UIOP_Connector.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/TAO/tao/Strategies/UIOP_Connector.cpp b/TAO/tao/Strategies/UIOP_Connector.cpp index c53c225a0c6..540f8941d08 100644 --- a/TAO/tao/Strategies/UIOP_Connector.cpp +++ b/TAO/tao/Strategies/UIOP_Connector.cpp @@ -191,7 +191,9 @@ TAO_UIOP_Connector::make_connection (TAO_GIOP_Invocation *invocation, // increment to the handler is done in make_svc_handler (). Now // that we dont need the reference to it anymore we can decrement // the refcount whether the connection is successful ot not. - svc_handler->decr_refcount (); + long refcount = svc_handler->decr_refcount (); + + ACE_ASSERT (refcount >= 0); if (TAO_debug_level > 0) ACE_DEBUG ((LM_DEBUG, |