summaryrefslogtreecommitdiff
path: root/ACE/ace/Event_Handler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/ace/Event_Handler.cpp')
-rw-r--r--ACE/ace/Event_Handler.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/ACE/ace/Event_Handler.cpp b/ACE/ace/Event_Handler.cpp
index f8331f3f5fb..28cb1d2d9d1 100644
--- a/ACE/ace/Event_Handler.cpp
+++ b/ACE/ace/Event_Handler.cpp
@@ -328,6 +328,7 @@ ACE_Event_Handler_var::ACE_Event_Handler_var (const ACE_Event_Handler_var &b)
ACE_Event_Handler_var::~ACE_Event_Handler_var (void)
{
+ ACE_Errno_Guard eguard (errno);
if (this->ptr_ != 0)
{
this->ptr_->remove_reference ();