mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-22 18:17:05 -04:00
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:
parent
cd4a7a2d72
commit
3a339cfca4
1 changed files with 1 additions and 0 deletions
|
|
@ -7095,6 +7095,7 @@ resume_dslookup(void *arg) {
|
|||
|
||||
case ISC_R_SHUTTINGDOWN:
|
||||
case ISC_R_CANCELED:
|
||||
dns_rdataset_cleanup(frdataset);
|
||||
goto cleanup;
|
||||
|
||||
default:
|
||||
|
|
|
|||
Loading…
Reference in a new issue