From: Mark Andrews Date: Mon, 16 Dec 2019 07:13:05 +0000 (+1100) Subject: Call dns_dbiterator_destroy earlier to prevent potential deadlock. X-Git-Tag: v9.15.8~33^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9d8f9cc8f282843d6de6a00815affa51eea9af7c;p=thirdparty%2Fbind9.git Call dns_dbiterator_destroy earlier to prevent potential deadlock. --- diff --git a/lib/dns/zone.c b/lib/dns/zone.c index d9e95f957bc..6fa659a34bb 100644 --- a/lib/dns/zone.c +++ b/lib/dns/zone.c @@ -15623,6 +15623,8 @@ receive_secure_db(isc_task_t *task, isc_event_t *event) { dns_db_detachnode(db, &node); } + dns_dbiterator_destroy(&dbiterator); + /* * Call restore_nsec3param() to create private-type records from * the old nsec3 parameters and insert them into db