Changeset: 1d57afd023d7 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/1d57afd023d7 Modified Files: gdk/gdk_bat.c Branch: Jul2021 Log Message:
Fix incorrect setting to NULL. diffs (19 lines): diff --git a/gdk/gdk_bat.c b/gdk/gdk_bat.c --- a/gdk/gdk_bat.c +++ b/gdk/gdk_bat.c @@ -695,7 +695,6 @@ BATfree(BAT *b) assert((ATOMIC_GET(&b->theap->refs) & HEAPREFS) == 1); assert(b->theap->parentid == b->batCacheid); HEAPfree(b->theap, false); - b->theap = NULL; } /* wait until there are no other references to the heap; a * reference is possible in e.g. BBPsync that uses a @@ -709,7 +708,6 @@ BATfree(BAT *b) assert((ATOMIC_GET(&b->tvheap->refs) & HEAPREFS) == 1); assert(b->tvheap->parentid == b->batCacheid); HEAPfree(b->tvheap, false); - b->tvheap = NULL; } MT_lock_unset(&b->theaplock); } _______________________________________________ checkin-list mailing list -- checkin-list@monetdb.org To unsubscribe send an email to checkin-list-le...@monetdb.org