]> git.ipfire.org Git - thirdparty/bind9.git/commit
chg: dev: mem: checkfree assertion after debug list dump
authorColin Vidal <colin@isc.org>
Sun, 19 Oct 2025 08:38:18 +0000 (10:38 +0200)
committerColin Vidal <colin@isc.org>
Sun, 19 Oct 2025 08:38:18 +0000 (10:38 +0200)
commit54d7198a1a789dc91fc58004bda8464ef06c404c
treeaa45993da509658f85f7af8770f8ac90a0cb213c
parent0caba8e9ce8bb57ea46a08a3a42550978e5af8e7
parentc50ace654d877f442cf26c2043936eb005d46889
chg: dev: mem: checkfree assertion after debug list dump

When a memory context is destroyed, if the `checkfree` property is set,
the program assert there is no remaining allocation. If there are and
assertions are enabled, the program immediately stops.

However, if memory trace/record debug is enabled, the dump of
outstanding allocation won't be printed as it is done after the
no remaining allocation assertion check.

This moves the no remaining allocation assertion check after the dump of
outstanding allocations, so it is still possible to figure out what's
still allocated by this memory context.

Merge branch 'colin/mem-checkfree-check-after-debuglist' into 'main'

See merge request isc-projects/bind9!11110