mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 14:07:59 +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
|
||||
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:
|
||||
|
Reference in New Issue
Block a user