From: Mark Andrews Date: Wed, 15 Aug 2018 06:14:46 +0000 (+1000) Subject: use RUNTIME_CHECK X-Git-Tag: v9.13.4~105^2~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2f36a62d162a0809540718671a392c92f4bf6c36;p=thirdparty%2Fbind9.git use RUNTIME_CHECK --- diff --git a/lib/dns/resolver.c b/lib/dns/resolver.c index 39f2fd20e98..d2c949c2277 100644 --- a/lib/dns/resolver.c +++ b/lib/dns/resolver.c @@ -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__); }