2
0
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:
Mark Andrews
2017-11-30 10:31:44 +11:00
parent 6cc3c22534
commit 9ddf7d6c4c
5 changed files with 17 additions and 1 deletions

View File

@@ -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);
}