From: Mark Andrews Date: Wed, 4 Sep 2019 14:28:07 +0000 (+1000) Subject: use rpzs->updater as rpz->rpzs is NULL X-Git-Tag: v9.15.4~8^2~1 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=3e82a2ea9a5f7cd3c24b7c0ba9e0bc8a5149ef65;p=thirdparty%2Fbind9.git use rpzs->updater as rpz->rpzs is NULL --- diff --git a/lib/dns/rpz.c b/lib/dns/rpz.c index 45cf34217a6..d4d5766c780 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); }