summaryrefslogtreecommitdiff
path: root/ace/Parse_Node.cpp
diff options
context:
space:
mode:
authornanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-01-27 17:08:06 +0000
committernanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-01-27 17:08:06 +0000
commit6407e81fc4fcf60e58000b28bdecd7cd913894cc (patch)
treea7324c2e80e65a8604550d2dabe76e7cb085a20c /ace/Parse_Node.cpp
parent287420cc91bd0f57bdd4ec8ce6ed3f48e61c9fd9 (diff)
downloadATCD-6407e81fc4fcf60e58000b28bdecd7cd913894cc.tar.gz
ChangeLogTag:Thu Jan 27 11:06:22 2000 Nanbor Wang <nanbor@cs.wustl.edu>
Diffstat (limited to 'ace/Parse_Node.cpp')
-rw-r--r--ace/Parse_Node.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/ace/Parse_Node.cpp b/ace/Parse_Node.cpp
index ea5a420c91e..e4bd314f0df 100644
--- a/ace/Parse_Node.cpp
+++ b/ace/Parse_Node.cpp
@@ -135,7 +135,7 @@ ACE_Parse_Node::print (void) const
ACE_Parse_Node::~ACE_Parse_Node (void)
{
ACE_TRACE ("ACE_Parse_Node::~ACE_Parse_Node");
- delete ACE_const_cast (ASYS_TCHAR*, this->name_);
+ delete[] ACE_const_cast (ASYS_TCHAR*, this->name_);
delete this->next_;
}
@@ -323,7 +323,7 @@ ACE_Static_Node::apply (void)
ACE_Static_Node::~ACE_Static_Node (void)
{
ACE_TRACE ("ACE_Static_Node::~ACE_Static_Node");
- delete this->parameters_;
+ delete[] this->parameters_;
}
ACE_ALLOC_HOOK_DEFINE(ACE_Location_Node)
@@ -491,7 +491,7 @@ ACE_Object_Node::symbol (ACE_Service_Object_Exterminator *)
ACE_Object_Node::~ACE_Object_Node (void)
{
ACE_TRACE ("ACE_Object_Node::~ACE_Object_Node");
- delete ACE_const_cast (ASYS_TCHAR *, this->object_name_);
+ delete[] ACE_const_cast (ASYS_TCHAR *, this->object_name_);
}
ACE_ALLOC_HOOK_DEFINE(ACE_Function_Node)
@@ -587,7 +587,7 @@ ACE_Function_Node::symbol (ACE_Service_Object_Exterminator *gobbler)
ACE_Function_Node::~ACE_Function_Node (void)
{
ACE_TRACE ("ACE_Function_Node::~ACE_Function_Node");
- delete ACE_const_cast (ASYS_TCHAR *, function_name_);
+ delete[] ACE_const_cast (ASYS_TCHAR *, function_name_);
}
ACE_ALLOC_HOOK_DEFINE(ACE_Dummy_Node)
@@ -703,7 +703,7 @@ ACE_Static_Function_Node::symbol (ACE_Service_Object_Exterminator *gobbler)
ACE_Static_Function_Node::~ACE_Static_Function_Node (void)
{
ACE_TRACE ("ACE_Static_Function_Node::~ACE_Static_Function_Node");
- delete ACE_const_cast (ASYS_TCHAR *, this->function_name_);
+ delete[] ACE_const_cast (ASYS_TCHAR *, this->function_name_);
}
#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION)