From fbc09123cd0cac8d513165c441ef2b2ed9b3445c Mon Sep 17 00:00:00 2001 From: Bob Halley Date: Wed, 12 Jan 2000 22:22:20 +0000 Subject: [PATCH] shutdown_entries() was erroneously unlocking the wrong lock. --- lib/dns/adb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/dns/adb.c b/lib/dns/adb.c index 5cea8449cf..fdef29f2b2 100644 --- a/lib/dns/adb.c +++ b/lib/dns/adb.c @@ -832,7 +832,7 @@ shutdown_entries(dns_adb_t *adb) if (adb->entry_refcnt[bucket] == 0) dec_adb_irefcnt(adb, ISC_FALSE); - UNLOCK(&adb->namelocks[bucket]); + UNLOCK(&adb->entrylocks[bucket]); } }