Changeset: 8b7fd189e432 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=8b7fd189e432
Modified Files:
        monetdb5/modules/mosaic/mosaic.c
Branch: mosaic
Log Message:

Garbage collection.


diffs (13 lines):

diff --git a/monetdb5/modules/mosaic/mosaic.c b/monetdb5/modules/mosaic/mosaic.c
--- a/monetdb5/modules/mosaic/mosaic.c
+++ b/monetdb5/modules/mosaic/mosaic.c
@@ -847,6 +847,9 @@ MOSselect2(bat *ret, const bat *bid, con
 
        *ret = bn->batCacheid;
        GDKfree(task);
+
+       BBPunfix(b->batCacheid);
+       if (cand != NULL) BBPunfix(cand->batCacheid);
        BBPkeepref(bn->batCacheid);
        return msg;
 }
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to