Changeset: 297b87d5c0c9 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/297b87d5c0c9
Modified Files:
        sql/backends/monet5/sql_result.c
Branch: Sep2022
Log Message:

fix leak


diffs (11 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
@@ -752,6 +752,7 @@ mvc_import_table(Client cntxt, BAT ***ba
                                        BBPunfix(fmt[j].c->batCacheid);
                                }
                                GDKfree(fmt[i].data);
+                               GDKfree(fmt);
                                throw(IO, "sql.copy_from", SQLSTATE(HY013) 
MAL_MALLOC_FAIL);
                        }
                        fmt[i].c = NULL;
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to