mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 06:25:31 +00:00
940. [bug] Double zone locking failure on error path. [RT #1510]
This commit is contained in:
1
CHANGES
1
CHANGES
@@ -1,3 +1,4 @@
|
||||
940. [bug] Double zone locking failure on error path. [RT #1510]
|
||||
|
||||
--- 9.2.0b1 released ---
|
||||
|
||||
|
@@ -15,7 +15,7 @@
|
||||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: zone.c,v 1.330 2001/07/17 02:49:44 marka Exp $ */
|
||||
/* $Id: zone.c,v 1.331 2001/07/19 05:08:03 marka Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
@@ -2342,7 +2342,10 @@ notify_destroy(dns_notify_t *notify, isc_boolean_t locked) {
|
||||
ISC_LIST_UNLINK(notify->zone->notifies, notify, link);
|
||||
if (!locked)
|
||||
UNLOCK_ZONE(notify->zone);
|
||||
dns_zone_idetach(¬ify->zone);
|
||||
if (locked)
|
||||
zone_idetach(¬ify->zone);
|
||||
else
|
||||
dns_zone_idetach(¬ify->zone);
|
||||
}
|
||||
if (notify->find != NULL)
|
||||
dns_adb_destroyfind(¬ify->find);
|
||||
|
Reference in New Issue
Block a user