]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
use rpzs->updater as rpz->rpzs is NULL
authorMark Andrews <marka@isc.org>
Wed, 4 Sep 2019 14:28:07 +0000 (00:28 +1000)
committerMark Andrews <marka@isc.org>
Wed, 4 Sep 2019 21:29:05 +0000 (07:29 +1000)
(cherry picked from commit 3e82a2ea9a5f7cd3c24b7c0ba9e0bc8a5149ef65)

lib/dns/rpz.c

index 0ce8f2830bb0cc5db88e1281a5cddc308e79e4ce..eb4eaaf378aaf6838627ad1bc0e5277cdc080fe5 100644 (file)
@@ -2137,7 +2137,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);
                }