2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-29 13:38:26 +00:00

use RUNTIME_CHECK

This commit is contained in:
Mark Andrews 2018-08-15 16:14:46 +10:00 committed by Witold Kręcicki
parent 1a2a19c693
commit 2f36a62d16

View File

@ -3982,7 +3982,7 @@ fctx_try(fetchctx_t *fctx, bool retrying, bool badcache) {
&fctx->qminfetch);
if (result != ISC_R_SUCCESS) {
LOCK(&fctx->res->buckets[fctx->bucketnum].lock);
bucket_empty = fctx_decreference(fctx);
RUNTIME_CHECK(!fctx_decreference(fctx));
UNLOCK(&fctx->res->buckets[fctx->bucketnum].lock);
fctx_done(fctx, DNS_R_SERVFAIL, __LINE__);
}