diff options
Diffstat (limited to 'ace/Service_Object.cpp')
-rw-r--r-- | ace/Service_Object.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/ace/Service_Object.cpp b/ace/Service_Object.cpp index 52283e3bdcc..64ee5fd2317 100644 --- a/ace/Service_Object.cpp +++ b/ace/Service_Object.cpp @@ -11,6 +11,9 @@ ACE_RCSID(ace, Service_Object, "$Id$") +#undef ACE_TRACE +#define ACE_TRACE(X) ACE_TRACE_IMPL(X) + ACE_ALLOC_HOOK_DEFINE(ACE_Service_Object) ACE_ALLOC_HOOK_DEFINE(ACE_Service_Type) @@ -22,7 +25,7 @@ ACE_Service_Type::dump (void) const ACE_Service_Type::ACE_Service_Type (const ACE_TCHAR *n, ACE_Service_Type_Impl *t, - ACE_DLL *dll, + const ACE_DLL &dll, int active) : name_ (0), type_ (t), @@ -40,8 +43,6 @@ ACE_Service_Type::~ACE_Service_Type (void) this->fini (); - delete dll_; - delete [] (ACE_TCHAR *) this->name_; } |