From 3a339cfca42217588ec0d00f561fdf62dfc2aeaa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Sur=C3=BD?= Date: Sat, 14 Mar 2026 08:20:05 +0100 Subject: [PATCH] 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 | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/dns/resolver.c b/lib/dns/resolver.c index ab4344d74a..11a57ca681 100644 --- a/lib/dns/resolver.c +++ b/lib/dns/resolver.c @@ -7095,6 +7095,7 @@ resume_dslookup(void *arg) { case ISC_R_SHUTTINGDOWN: case ISC_R_CANCELED: + dns_rdataset_cleanup(frdataset); goto cleanup; default: