mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 14:35:26 +00:00
In incremental_cleaning_action(), detach the node returned by
dns_dbiterator_current(). [RT #1007]
This commit is contained in:
@@ -15,7 +15,7 @@
|
|||||||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: cache.c,v 1.36 2001/04/11 20:37:42 bwelling Exp $ */
|
/* $Id: cache.c,v 1.37 2001/04/11 22:15:00 tale Exp $ */
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
|
||||||
@@ -659,6 +659,12 @@ incremental_cleaning_action(isc_task_t *task, isc_event_t *event) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* The node was not needed, but was required by
|
||||||
|
* dns_dbiterator_current(). Give up its reference.
|
||||||
|
*/
|
||||||
|
dns_db_detachnode(cleaner->cache->db, &node);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Step to the next node.
|
* Step to the next node.
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user