mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 14:35:26 +00:00
don't insist that rbtdb->cachestats exists.
This commit is contained in:
@@ -706,7 +706,9 @@ free_rbtdb_callback(isc_task_t *task, isc_event_t *event) {
|
|||||||
static void
|
static void
|
||||||
update_cachestats(dns_rbtdb_t *rbtdb, isc_result_t result) {
|
update_cachestats(dns_rbtdb_t *rbtdb, isc_result_t result) {
|
||||||
INSIST(IS_CACHE(rbtdb));
|
INSIST(IS_CACHE(rbtdb));
|
||||||
INSIST(rbtdb->cachestats != NULL);
|
|
||||||
|
if (rbtdb->cachestats == NULL)
|
||||||
|
return;
|
||||||
|
|
||||||
switch (result) {
|
switch (result) {
|
||||||
case ISC_R_SUCCESS:
|
case ISC_R_SUCCESS:
|
||||||
|
Reference in New Issue
Block a user