2
0
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:
Mark Andrews
2001-07-19 05:08:03 +00:00
parent 3489d64bde
commit 2033e30585
2 changed files with 6 additions and 2 deletions

View File

@@ -1,3 +1,4 @@
940. [bug] Double zone locking failure on error path. [RT #1510]
--- 9.2.0b1 released ---

View File

@@ -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(&notify->zone);
if (locked)
zone_idetach(&notify->zone);
else
dns_zone_idetach(&notify->zone);
}
if (notify->find != NULL)
dns_adb_destroyfind(&notify->find);