Commit 356fe986cd for bind
commit 356fe986cd0c40f6e1bf5aa91fe80431a0d96a2b
Author: OndÅ™ej Surý <ondrej@isc.org>
Date: Tue Sep 22 19:07:24 2026 +0200
Pass the message pools to destroypools() in the declared order
The arguments were swapped, so the emptiness assertion named the wrong
pool.
diff --git a/lib/ns/client.c b/lib/ns/client.c
index 6edebb6c0d..78db3e2060 100644
--- a/lib/ns/client.c
+++ b/lib/ns/client.c
@@ -2646,7 +2646,7 @@ clientmgr_destroy_cb(void *arg) {
ns_server_detach(&manager->sctx);
- dns_message_destroypools(&manager->rdspool, &manager->namepool);
+ dns_message_destroypools(&manager->namepool, &manager->rdspool);
isc_mem_putanddetach(&manager->mctx, manager, sizeof(*manager));
}