Changeset: 85312e1d566a for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/85312e1d566a
Branch: Dec2025
Log Message:
merged
diffs (16 lines):
diff --git a/gdk/gdk_bbp.c b/gdk/gdk_bbp.c
--- a/gdk/gdk_bbp.c
+++ b/gdk/gdk_bbp.c
@@ -2036,8 +2036,10 @@ BBPexit(void)
if (b->oldtail) {
Heap *h = b->oldtail;
b->oldtail = NULL;
- ATOMIC_AND(&h->refs,
~DELAYEDREMOVE);
- HEAPdecref(h, false);
+ if (h != (Heap *) 1) {
+ ATOMIC_AND(&h->refs,
~DELAYEDREMOVE);
+ HEAPdecref(h, false);
+ }
}
PROPdestroy_nolock(b);
MT_lock_unset(&b->theaplock);
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]