mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-11 02:49:59 -04:00
also cleanup node
This commit is contained in:
parent
92ddd7ad2c
commit
eb54bc33a2
1 changed files with 3 additions and 0 deletions
|
|
@ -3301,6 +3301,9 @@ query_addbestns(ns_client_t *client) {
|
|||
query_putrdataset(client, &rdataset);
|
||||
if (sigrdataset != NULL)
|
||||
query_putrdataset(client, &sigrdataset);
|
||||
|
||||
if (node != NULL)
|
||||
dns_db_detachnode(db, &node);
|
||||
dns_db_detach(&db);
|
||||
|
||||
RESTORE(db, zdb);
|
||||
|
|
|
|||
Loading…
Reference in a new issue