Changeset: b8e33c7b15f6 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=b8e33c7b15f6 Modified Files: gdk/gdk_logger.c Branch: Oct2020 Log Message:
add assert, checking leaks diffs (11 lines): diff --git a/gdk/gdk_logger.c b/gdk/gdk_logger.c --- a/gdk/gdk_logger.c +++ b/gdk/gdk_logger.c @@ -3182,6 +3182,7 @@ bm_commit(logger *lg, lng save_id) return GDK_FAIL; } BBPrelease(bid); + assert(BBP_lrefs(bid)<=0 && BBP_refs(bid)==0); } if (leftover) { nfreed = logbat_new(TYPE_int, leftover, TRANSIENT); _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list