]> git.ipfire.org Git - thirdparty/bind9.git/commit
Fix memory context leak in dns_client_resolve() error path
authorOndřej Surý <ondrej@isc.org>
Sat, 14 Mar 2026 11:46:05 +0000 (12:46 +0100)
committerOndřej Surý <ondrej@isc.org>
Sat, 14 Mar 2026 12:47:48 +0000 (13:47 +0100)
commitd0165070c7f11e09498ad7c8e19ada7eea1fa044
tree2e16f2e95e2a6d3a513665ea30ba3f7249822b08
parent5c8d64499e0676e959efa93bde9f205e8e0391e9
Fix memory context leak in dns_client_resolve() error path

Use isc_mem_putanddetach() instead of isc_mem_put() to properly
detach the attached memory context stored in resarg->mctx.
lib/dns/client.c