From ec9ea0f606710d9650816bc73685a7d52d7571d3 Mon Sep 17 00:00:00 2001 From: jones_s Date: Wed, 9 Apr 2003 18:45:25 +0000 Subject: Added fix for DOC bug# 1487 --- TAO/tao/Messaging/Messaging.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/TAO/tao/Messaging/Messaging.cpp b/TAO/tao/Messaging/Messaging.cpp index 92e4a41a2f8..21605157aaf 100644 --- a/TAO/tao/Messaging/Messaging.cpp +++ b/TAO/tao/Messaging/Messaging.cpp @@ -4,6 +4,7 @@ #include "Messaging.h" #include "Messaging_ORBInitializer.h" +#include "ace/Auto_Ptr.h" #include "tao/Stub.h" #include "tao/debug.h" @@ -109,6 +110,9 @@ exception_holder_raise (TAO_Exception_Data *exception_data, exception->completed (CORBA::CompletionStatus (completion)); // Raise the exception. +#if defined (TAO_HAS_EXCEPTIONS) + ACE_Auto_Basic_Ptr e_ptr(exception); +#endif ACE_ENV_RAISE (exception); return; @@ -131,6 +135,9 @@ exception_holder_raise (TAO_Exception_Data *exception_data, ACE_CHECK; // Raise the exception. +#if defined (TAO_HAS_EXCEPTIONS) + ACE_Auto_Basic_Ptr e_ptr(exception); +#endif ACE_ENV_RAISE (exception); return; -- cgit v1.2.1