Changeset: 6b8835bde0a0 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/6b8835bde0a0
Modified Files:
        sql/backends/monet5/sql_result.c
        tools/monetdbe/monetdbe.c
Branch: default
Log Message:

Add missing cleanups.


diffs (23 lines):

diff --git a/sql/backends/monet5/sql_result.c b/sql/backends/monet5/sql_result.c
--- a/sql/backends/monet5/sql_result.c
+++ b/sql/backends/monet5/sql_result.c
@@ -1027,6 +1027,8 @@ create_prepare_result(backend *b, cq *q,
                        BBPunfix(btype->batCacheid);
                if (bdigits)
                        BBPunfix(bdigits->batCacheid);
+               if (bimpl)
+                       BBPunfix(bimpl->batCacheid);
                if (bscale)
                        BBPunfix(bscale->batCacheid);
                if (bschema)
diff --git a/tools/monetdbe/monetdbe.c b/tools/monetdbe/monetdbe.c
--- a/tools/monetdbe/monetdbe.c
+++ b/tools/monetdbe/monetdbe.c
@@ -2581,6 +2581,7 @@ monetdbe_result_fetch(monetdbe_result* m
                        }
                        j++;
                }
+               bat_iterator_end(&li);
        } else if (bat_type == TYPE_date) {
                date *baseptr;
                GENERATE_BAT_INPUT_BASE(date);
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to