mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-01 15:05:23 +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);
|
dns_resolver_destroyfetch(adb->view->resolver, &fetch->fetch);
|
||||||
dev->fetch = NULL;
|
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
|
* If this name is marked as dead, clean up, throwing away
|
||||||
* potentially good data.
|
* potentially good data.
|
||||||
|
Reference in New Issue
Block a user