summaryrefslogtreecommitdiff
path: root/ace
diff options
context:
space:
mode:
Diffstat (limited to 'ace')
-rw-r--r--ace/Containers.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ace/Containers.cpp b/ace/Containers.cpp
index fcfc1568076..10f872346ad 100644
--- a/ace/Containers.cpp
+++ b/ace/Containers.cpp
@@ -146,7 +146,7 @@ ACE_Unbounded_Stack<T>::delete_all_nodes (void)
while (this->is_empty () == 0)
{
ACE_Node<T> *temp = this->head_->next_;
- this->head_ = temp->next_;
+ this->head_->next_ = temp->next_;
delete temp;
}