Changeset: 3dbb19fa6401 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/3dbb19fa6401 Modified Files: gdk/gdk_project.c Branch: Jul2021 Log Message:
Plug another hole. diffs (20 lines): diff --git a/gdk/gdk_project.c b/gdk/gdk_project.c --- a/gdk/gdk_project.c +++ b/gdk/gdk_project.c @@ -741,16 +741,12 @@ BATproject2(BAT *restrict l, BAT *restri MT_lock_unset(&r1->theaplock); } else { /* make copy of string heap */ - bn->tvheap = (Heap *) GDKzalloc(sizeof(Heap)); - if (bn->tvheap == NULL) - goto bailout; bn->tvheap->parentid = bn->batCacheid; bn->tvheap->farmid = BBPselectfarm(bn->batRole, TYPE_str, varheap); strconcat_len(bn->tvheap->filename, sizeof(bn->tvheap->filename), BBP_physical(bn->batCacheid), ".theap", NULL); - ATOMIC_INIT(&bn->tvheap->refs, 1); if (HEAPcopy(bn->tvheap, r1->tvheap) != GDK_SUCCEED) goto bailout; } _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list