]> git.ipfire.org Git - thirdparty/bind9.git/commit
Clean up frdataset in resume_dslookup() on shutdown
authorOndřej Surý <ondrej@isc.org>
Sat, 14 Mar 2026 07:20:05 +0000 (08:20 +0100)
committerColin Vidal <colin@isc.org>
Mon, 30 Mar 2026 18:41:13 +0000 (20:41 +0200)
commit3a339cfca42217588ec0d00f561fdf62dfc2aeaa
tree8beec95c600ad505d954e81e526405c0bbf13bae
parentcd4a7a2d72737a992d80bcb9c4bfd30a97e5cbeb
Clean up frdataset in resume_dslookup() on shutdown

When resume_dslookup() receives ISC_R_SHUTTINGDOWN or ISC_R_CANCELED,
frdataset (fctx->nsrrset) was not disassociated.  While fctx__destroy()
eventually cleans it up, leaving it associated keeps the underlying DB
node referenced longer than necessary.
lib/dns/resolver.c