From 3e82a2ea9a5f7cd3c24b7c0ba9e0bc8a5149ef65 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Thu, 5 Sep 2019 00:28:07 +1000 Subject: [PATCH] use rpzs->updater as rpz->rpzs is NULL --- lib/dns/rpz.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/dns/rpz.c b/lib/dns/rpz.c index 45cf34217a..d4d5766c78 100644 --- a/lib/dns/rpz.c +++ b/lib/dns/rpz.c @@ -2126,7 +2126,7 @@ rpz_detach(dns_rpz_zone_t **rpzp) { dns_db_detach(&rpz->db); } if (rpz->updaterunning) { - isc_task_purgeevent(rpz->rpzs->updater, &rpz->updateevent); + isc_task_purgeevent(rpzs->updater, &rpz->updateevent); if (rpz->updbit != NULL) { dns_dbiterator_destroy(&rpz->updbit); }