]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2091a] added a comment about future plans of sharing memsgmt for multi zones.
authorJINMEI Tatuya <jinmei@isc.org>
Mon, 23 Jul 2012 19:01:28 +0000 (12:01 -0700)
committerJINMEI Tatuya <jinmei@isc.org>
Mon, 23 Jul 2012 19:01:28 +0000 (12:01 -0700)
src/lib/datasrc/memory_datasrc.cc

index 8a58afe0f558a9ebe455d7cd3dd729ade009b862..652b3b1f72780e2e13868ba2321196272e9e44f8 100644 (file)
@@ -147,7 +147,9 @@ struct ZoneData {
 
         // The assert may be too harsh, but we assume we'll discard (rewrite)
         // this code soon enough.  Until then this would be a good way to
-        // detect any memory leak.
+        // detect any memory leak.  Also, at that point we shouldn't use
+        // a single separate memory segment for each zone tree; normally
+        // zone data for multiple zones will be managed in a single segment.
         assert(local_mem_sgmt_.allMemoryDeallocated());
     }