Changeset: c99f07f51c33 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/c99f07f51c33
Modified Files:
        sql/backends/monet5/sql.c
Branch: Jul2021
Log Message:

Don't keep reference on error


diffs (16 lines):

diff --git a/sql/backends/monet5/sql.c b/sql/backends/monet5/sql.c
--- a/sql/backends/monet5/sql.c
+++ b/sql/backends/monet5/sql.c
@@ -3194,10 +3194,9 @@ mvc_import_table_wrap(Client cntxt, MalB
                }
                bstream_destroy(s);
        }
-       if (b) {
+       if (b && !msg)
                bat2return(stk, pci, b);
-               GDKfree(b);
-       }
+       GDKfree(b);
        return msg;
 }
 
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to