BIND 10 trac2831, updated. d43543b1fea006c3ac4bca51749e7cffbcc84085 [2831] Also clear the named address before shrinkToFit()

BIND 10 source code commits bind10-changes at lists.isc.org
Fri Apr 12 14:44:35 UTC 2013


The branch, trac2831 has been updated
       via  d43543b1fea006c3ac4bca51749e7cffbcc84085 (commit)
      from  2a70916c9d0949f710a3f289ef13925bdf12dd5d (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit d43543b1fea006c3ac4bca51749e7cffbcc84085
Author: Mukund Sivaraman <muks at isc.org>
Date:   Fri Apr 12 20:14:21 2013 +0530

    [2831] Also clear the named address before shrinkToFit()

-----------------------------------------------------------------------

Summary of changes:
 .../util/tests/memory_segment_mapped_unittest.cc   |    1 +
 1 file changed, 1 insertion(+)

-----------------------------------------------------------------------
diff --git a/src/lib/util/tests/memory_segment_mapped_unittest.cc b/src/lib/util/tests/memory_segment_mapped_unittest.cc
index 1703480..18adad8 100644
--- a/src/lib/util/tests/memory_segment_mapped_unittest.cc
+++ b/src/lib/util/tests/memory_segment_mapped_unittest.cc
@@ -281,6 +281,7 @@ checkNamedData(const std::string& name, const std::vector<uint8_t>& data,
 
     if (delete_after_check) {
         sgmt.deallocate(dp, data.size());
+        sgmt.clearNamedAddress(name.c_str());
     }
 }
 



More information about the bind10-changes mailing list