mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 06:25:31 +00:00
4833. [bug] isc_event_free should check that the event is not
linked when called. [RT #46725] 4832. [bug] Events were not being removed from zone->rss_events. [RT #46725]
This commit is contained in:
@@ -703,6 +703,7 @@ isc__task_purgerange(isc_task_t *task0, void *sender, isc_eventtype_t first,
|
||||
|
||||
for (event = HEAD(events); event != NULL; event = next_event) {
|
||||
next_event = NEXT(event, ev_link);
|
||||
ISC_LIST_UNLINK(events, event, ev_link);
|
||||
isc_event_free(&event);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user