summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>2003-03-22 19:04:54 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>2003-03-22 19:04:54 +0000
commit17f01f15d4569431bca42d06f79b2ec5c9dea85d (patch)
tree614de49513b55243b2c17f25f7c55685be0990e2
parentaee4f452d012f98de2ae0d8cf3e4988b64ae9b3c (diff)
downloadATCD-17f01f15d4569431bca42d06f79b2ec5c9dea85d.tar.gz
ChangeLogTag:Sat Mar 22 11:58:12 2003 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
-rw-r--r--ChangeLog14
-rw-r--r--ace/Configuration.cpp3
2 files changed, 17 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index f2df08ae994..8715645ffcf 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,19 @@
Sat Mar 22 11:58:12 2003 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
+ * ace/Configuration.cpp: When remove_section() was called the
+ buckets created for the value and section hash map were not
+ deleted. Added two new lines after
+ if (index_->unbind (SectionExtId, allocator_))
+ return -1;
+
+ as follows:
+
+ value_hash_map->close();
+ section_entry->int_id_.section_hash_map_->close(allocator_);
+
+ Thanks to Sandip Patel <spatel@pwcwireless.com> for reporting
+ this.
+
* ace/Message_Queue_T.cpp: Moved the notify() hook calls within
the protection of the guard lock critical section to prevent
race conditions on cleanup. Thanks to Ron Muck <rlm@sdiusa.com>
diff --git a/ace/Configuration.cpp b/ace/Configuration.cpp
index c3198c3aa70..d72222cc3b8 100644
--- a/ace/Configuration.cpp
+++ b/ace/Configuration.cpp
@@ -1689,6 +1689,9 @@ ACE_Configuration_Heap::remove_section (const ACE_Configuration_Section_Key& key
if (index_->unbind (SectionExtId, allocator_))
return -1;
+ value_hash_map->close ();
+ section_entry->int_id_.section_hash_map_->close (allocator_);
+
// Free the memory
ExtIdToFree.free (allocator_);
IntIdToFree.free (allocator_);