diff options
Diffstat (limited to 'ace/Log_Record.inl')
-rw-r--r-- | ace/Log_Record.inl | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/ace/Log_Record.inl b/ace/Log_Record.inl index 0b81be7c7ec..b31af15384a 100644 --- a/ace/Log_Record.inl +++ b/ace/Log_Record.inl @@ -1,4 +1,5 @@ -/* -*- C++ -*- */ +// -*- C++ -*- +// // $Id$ #include "ace/Global_Macros.h" @@ -6,9 +7,13 @@ #include "ace/Time_Value.h" #include "ace/OS_NS_string.h" +ACE_BEGIN_VERSIONED_NAMESPACE_DECL + ACE_INLINE ACE_Log_Record::~ACE_Log_Record (void) { + if (this->msg_data_) + delete[] this->msg_data_; } ACE_INLINE void @@ -108,3 +113,5 @@ ACE_Log_Record::msg_data_len (void) const ACE_TRACE ("ACE_Log_Record::msg_data_len"); return ACE_OS::strlen (this->msg_data_) + 1; } + +ACE_END_VERSIONED_NAMESPACE_DECL |