Commit 3e82a2ea authored by Mark Andrews's avatar Mark Andrews
Browse files

use rpzs->updater as rpz->rpzs is NULL

parent 6639288d
......@@ -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);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment