From: Aram Sargsyan Date: Fri, 24 May 2024 15:42:41 +0000 (+0000) Subject: fixup! Merge branch 'ondrej/light-cleanup-of-rdataslab' into 'main' X-Git-Tag: v9.20.0~23^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d3c31b928bfc45292c01b5c69fb0a3dd71d1b80;p=thirdparty%2Fbind9.git fixup! Merge branch 'ondrej/light-cleanup-of-rdataslab' into 'main' --- diff --git a/lib/dns/cache.c b/lib/dns/cache.c index 392f835dc64..acff97edae0 100644 --- a/lib/dns/cache.c +++ b/lib/dns/cache.c @@ -196,7 +196,11 @@ cache_cleanup(dns_cache_t *cache) { cache_destroy(cache); } +#if DNS_CACHE_TRACE +ISC_REFCOUNT_TRACE_IMPL(dns_cache, cache_cleanup); +#else ISC_REFCOUNT_IMPL(dns_cache, cache_cleanup); +#endif void dns_cache_attachdb(dns_cache_t *cache, dns_db_t **dbp) {