+3910. [bug] Fix races to free event during shutdown. [RT#36720]
+
3909. [bug] When computing the number of elements required for a
acl count_acl_elements could have a short count leading
to a assertion failure. Also zero out new acl elements
UNUSED(task);
+ isc_event_free(&event);
+
LOCK(&view->lock);
view->attributes |= DNS_VIEWATTR_RESSHUTDOWN;
UNLOCK(&view->lock);
- isc_event_free(&event);
-
if (done)
destroy(view);
}
UNUSED(task);
+ isc_event_free(&event);
+
LOCK(&view->lock);
view->attributes |= DNS_VIEWATTR_ADBSHUTDOWN;
UNLOCK(&view->lock);
- isc_event_free(&event);
-
if (done)
destroy(view);
}
UNUSED(task);
+ isc_event_free(&event);
+
LOCK(&view->lock);
view->attributes |= DNS_VIEWATTR_REQSHUTDOWN;
UNLOCK(&view->lock);
- isc_event_free(&event);
-
if (done)
destroy(view);
}