]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
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)
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


Trivial merge