summaryrefslogtreecommitdiff
path: root/ace/Hash_Map_Manager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ace/Hash_Map_Manager.cpp')
-rw-r--r--ace/Hash_Map_Manager.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/ace/Hash_Map_Manager.cpp b/ace/Hash_Map_Manager.cpp
index 99b1ba2d2e4..e46d6fcc036 100644
--- a/ace/Hash_Map_Manager.cpp
+++ b/ace/Hash_Map_Manager.cpp
@@ -145,13 +145,13 @@ ACE_Hash_Map_Manager<EXT_ID, INT_ID, ACE_LOCK>::close_i (void)
ACE_Hash_Map_Entry<EXT_ID, INT_ID> *hold_ptr = temp_ptr;
temp_ptr = temp_ptr->next_;
- // Explicitly call the destructor.
- hold_ptr->ACE_Hash_Map_Entry<EXT_ID, INT_ID>::~ACE_Hash_Map_Entry ();
- this->allocator_->free (hold_ptr);
+ ACE_DES_FREE_TEMPLATE (hold_ptr, this->allocator_->free,
+ ACE_Hash_Map_Entry, <EXT_ID, INT_ID>);
}
// Now deal with the sentinal
// Explicitly call the destructor.
- this->table_[i].ACE_Hash_Map_Entry<EXT_ID, INT_ID>::~ACE_Hash_Map_Entry ();
+ ACE_DES_NOFREE_TEMPLATE (&table[i], ACE_Hash_Map_Entry,
+ <EXIT_ID, INT_ID>);
}
// Free table memory