summaryrefslogtreecommitdiff
path: root/ace/Service_Object.i
diff options
context:
space:
mode:
authornanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-04-27 12:28:57 +0000
committernanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-04-27 12:28:57 +0000
commit8a8f5fe8f76fd5fca748c5cfa4246f95d245c042 (patch)
tree8e52e9a18bc63a4225edb2c81f463f94f6d1f2e7 /ace/Service_Object.i
parent8184488177efd39291897aa89b1502777fdce575 (diff)
downloadATCD-8a8f5fe8f76fd5fca748c5cfa4246f95d245c042.tar.gz
Delete the service_object_ in ACE_Service_Object_Ptr's dtor.
Diffstat (limited to 'ace/Service_Object.i')
-rw-r--r--ace/Service_Object.i3
1 files changed, 2 insertions, 1 deletions
diff --git a/ace/Service_Object.i b/ace/Service_Object.i
index d8e511b9ca9..c69670b5444 100644
--- a/ace/Service_Object.i
+++ b/ace/Service_Object.i
@@ -10,7 +10,8 @@ ACE_INLINE ACE_Service_Object_Ptr::ACE_Service_Object_Ptr (ACE_Service_Object *s
ACE_INLINE ACE_Service_Object_Ptr::~ACE_Service_Object_Ptr (void)
{
- this->service_object_->fini ();
+ this->service_object_->fini ();
+ delete this->service_object_;
}
ACE_INLINE ACE_Service_Object *