Changeset: 4bc3c6ab255b for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/4bc3c6ab255b
Modified Files:
        sql/backends/monet5/sql_upgrades.c
Branch: default
Log Message:

Memory leak fix


diffs (13 lines):

diff --git a/sql/backends/monet5/sql_upgrades.c 
b/sql/backends/monet5/sql_upgrades.c
--- a/sql/backends/monet5/sql_upgrades.c
+++ b/sql/backends/monet5/sql_upgrades.c
@@ -4911,6 +4911,9 @@ sql_update_default(Client c, mvc *sql)
                        err = SQLstatementIntern(c, buf, "update", true, false, 
NULL);
                }
        }
+       res_table_destroy(output);
+       output = NULL;
+
        /* if the table type UNLOGGED TABLE is not in the list of table
         * types, upgrade */
        pos = snprintf(buf, bufsize, "select table_type_name from 
sys.table_types where table_type_name = 'UNLOGGED TABLE';\n");
_______________________________________________
checkin-list mailing list -- checkin-list@monetdb.org
To unsubscribe send an email to checkin-list-le...@monetdb.org

Reply via email to