]> git.ipfire.org Git - thirdparty/bind9.git/commit
Fix assertion failure when checking named-checkconf version
authorOndřej Surý <ondrej@isc.org>
Mon, 5 Aug 2024 08:24:37 +0000 (10:24 +0200)
committerOndřej Surý <ondrej@isc.org>
Mon, 5 Aug 2024 10:16:33 +0000 (10:16 +0000)
commitc54880e3fad9f6c569de04fccf5489372b624311
treec272ddd70e473b73f86f51da298a08f97f2183fb
parent7a705a3ea4ed22994e3511ab334bcd81a2730f2b
Fix assertion failure when checking named-checkconf version

The dst_lib_destroy() should be called only if dst_lib_init() was called
before.  In named-checkconf, that is guarded by dst_cleanup variable
that was erroneously set to true by default.  Set the dst_cleanup to
'false' by default.
bin/check/named-checkconf.c