2
0
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:
Mark Andrews 2012-05-18 15:19:49 +10:00
parent 23c1dfbb54
commit cf751b1c9b

View File

@ -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: