summaryrefslogtreecommitdiff
path: root/ace/Service_Object.cpp
diff options
context:
space:
mode:
authornanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-03-19 09:11:03 +0000
committernanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-03-19 09:11:03 +0000
commita2e2f45052399dd019ca5a3761445ec947bd54e6 (patch)
treed9d4aef2560d545313423c06c21072e59b588927 /ace/Service_Object.cpp
parent145b4ab298bf86b70d13736606751d11aaa21015 (diff)
downloadATCD-a2e2f45052399dd019ca5a3761445ec947bd54e6.tar.gz
CE stuff.
Diffstat (limited to 'ace/Service_Object.cpp')
-rw-r--r--ace/Service_Object.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/ace/Service_Object.cpp b/ace/Service_Object.cpp
index c2a374222c7..f33fc87d649 100644
--- a/ace/Service_Object.cpp
+++ b/ace/Service_Object.cpp
@@ -24,6 +24,9 @@ ACE_Service_Type::ACE_Service_Type (const ASYS_TCHAR *n,
const ACE_SHLIB_HANDLE h,
int active)
: name_ (0),
+#if defined (ACE_HAS_MOSTLY_UNICODE_APIS)
+ chname_ (0),
+#endif /* ACE_HAS_MOSTLY_UNICODE_APIS */
type_ (t),
handle_ (h),
active_ (active)
@@ -39,6 +42,9 @@ ACE_Service_Type::~ACE_Service_Type (void)
if (this->handle_ != 0)
ACE_OS::dlclose ((ACE_SHLIB_HANDLE) this->handle_);
delete [] (ASYS_TCHAR *) this->name_;
+#if defined (ACE_HAS_MOSTLY_UNICODE_APIS)
+ delete [] (char *) this->chname_;
+#endif /* ACE_HAS_MOSTLY_UNICODE_APIS */
}
void