mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 06:25:31 +00:00
cleanup parts of the fetch done event that we don't care about
This commit is contained in:
@@ -2172,6 +2172,14 @@ fetch_callback(isc_task_t *task, isc_event_t *ev)
|
||||
dns_resolver_destroyfetch(adb->view->resolver, &fetch->fetch);
|
||||
dev->fetch = NULL;
|
||||
|
||||
/*
|
||||
* Cleanup things we don't care about.
|
||||
*/
|
||||
if (dev->node != NULL)
|
||||
dns_db_detachnode(dev->db, &dev->node);
|
||||
if (dev->db != NULL)
|
||||
dns_db_detach(&dev->db);
|
||||
|
||||
/*
|
||||
* If this name is marked as dead, clean up, throwing away
|
||||
* potentially good data.
|
||||
|
Reference in New Issue
Block a user