summaryrefslogtreecommitdiff
path: root/ace/Malloc.cpp
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1999-10-05 03:16:55 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1999-10-05 03:16:55 +0000
commitb64127e7a63949452d395a0f3b63060e396850a8 (patch)
treecf02513a105753a4602399411d23e8b01e980f59 /ace/Malloc.cpp
parentaa96c4b340b529bd64bec2baa457a780c4069d21 (diff)
downloadATCD-b64127e7a63949452d395a0f3b63060e396850a8.tar.gz
ChangeLogTag:Mon Oct 4 08:31:58 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
Diffstat (limited to 'ace/Malloc.cpp')
-rw-r--r--ace/Malloc.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/ace/Malloc.cpp b/ace/Malloc.cpp
index ecd5deb3172..d3f1fe5a7cf 100644
--- a/ace/Malloc.cpp
+++ b/ace/Malloc.cpp
@@ -70,11 +70,14 @@ ACE_Name_Node::ACE_Name_Node (const char *name,
ACE_Name_Node *next)
: name_ (name_ptr),
pointer_ (pointer),
- next_ (next)
+ next_ (next),
+ prev_ (0)
{
ACE_TRACE ("ACE_Name_Node::ACE_Name_Node");
char *n = this->name_;
ACE_OS::strcpy (n, name);
+ if (next != 0)
+ next->prev_ = this;
}
ACE_Name_Node::ACE_Name_Node (const ACE_Name_Node &)