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
commitbb76358b0035d7ce30cb26e88df15c5647ed3f16 (patch)
treed9d4aef2560d545313423c06c21072e59b588927 /ace/Service_Object.cpp
parentb387da33a585455ea4ede00f8ce7b30ae86ba19a (diff)
downloadATCD-bb76358b0035d7ce30cb26e88df15c5647ed3f16.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