Changeset: 1b70d2ff0477 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=1b70d2ff0477
Modified Files:
        sql/backends/monet5/UDF/udf.c
Branch: arrays
Log Message:

releasing some forgotten BATs


diffs (22 lines):

diff --git a/sql/backends/monet5/UDF/udf.c b/sql/backends/monet5/UDF/udf.c
--- a/sql/backends/monet5/UDF/udf.c
+++ b/sql/backends/monet5/UDF/udf.c
@@ -633,7 +633,9 @@ char* narrowqrUDF_bulk(bat *rowsRes, bat
 
                return createException(MAL, "udf.qr", "Problem in BATproject");
        }
-               
+       
+       BBPunfix(order->batCacheid);
+       
        cols = (BAT**)GDKmalloc(sizeof(BAT*)*colsNum);
        q = (BAT**)GDKmalloc(sizeof(BAT*)*colsNum);
        if(!cols || !q) {
@@ -688,6 +690,7 @@ char* narrowqrUDF_bulk(bat *rowsRes, bat
 
                /*create a BAT for the output */
                q[i] = BATnew(TYPE_void, BATttype(vals), BATcount(vals), 
TRANSIENT);
+               BBPunfix(colOidsBAT->batCacheid)
        }
 
        /* I do not need these BATs anymore */
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to