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