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.
This commit is contained in:
Ondřej Surý 2026-03-14 08:20:05 +01:00 committed by Colin Vidal
parent cd4a7a2d72
commit 3a339cfca4

View file

@ -7095,6 +7095,7 @@ resume_dslookup(void *arg) {
case ISC_R_SHUTTINGDOWN:
case ISC_R_CANCELED:
dns_rdataset_cleanup(frdataset);
goto cleanup;
default: