Changeset: 0bfce9e03d0b for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/0bfce9e03d0b Modified Files: gdk/gdk_logger.c Branch: default Log Message:
Merge with Jun2023 branch. diffs (20 lines): diff --git a/gdk/gdk_logger.c b/gdk/gdk_logger.c --- a/gdk/gdk_logger.c +++ b/gdk/gdk_logger.c @@ -2328,14 +2328,13 @@ log_destroy(logger *lg) (void) last; assert(last == lg->current && last == lg->flush_ranges); log_close_output(lg); - for (logged_range * p = lg->pending; p;) { - logged_range *n = p->next; + for (logged_range * p = lg->pending; p; p = lg->pending) { + lg->pending = p->next; ATOMIC_DESTROY(&p->refcount); ATOMIC_DESTROY(&p->last_ts); ATOMIC_DESTROY(&p->flushed_ts); ATOMIC_DESTROY(&p->drops); GDKfree(p); - p = n; } if (LOG_DISABLED(lg)) { lg->saved_id = lg->id; _______________________________________________ checkin-list mailing list -- checkin-list@monetdb.org To unsubscribe send an email to checkin-list-le...@monetdb.org