Changeset: 56fb2c78b2b9 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=56fb2c78b2b9
Modified Files:
        sql/backends/monet5/sql_rdf.c
Branch: rdf
Log Message:

Free the memory


diffs (20 lines):

diff --git a/sql/backends/monet5/sql_rdf.c b/sql/backends/monet5/sql_rdf.c
--- a/sql/backends/monet5/sql_rdf.c
+++ b/sql/backends/monet5/sql_rdf.c
@@ -734,6 +734,7 @@ SQLrdfreorganize(Client cntxt, MalBlkPtr
 
                        mvc_create_column(m, cstables[i], tmpcolname,  
&tpes[tmpbat->ttype]);
                        
+                       GDKfree(baseColName);
                        //For multi-values table
                        tmpNumMVCols = 
cstablestat->lstcstable[i].lstMVTables[j].numCol;
                        if (tmpNumMVCols != 0){
@@ -803,6 +804,8 @@ SQLrdfreorganize(Client cntxt, MalBlkPtr
                        store_funcs.append_col(m->session->tr,
                                        mvc_bind_column(m, 
cstables[i],tmpcolname ), 
                                        tmpbat, TYPE_bat);
+
+                       GDKfree(baseColName);
                        //For multi-values table
                        tmpNumMVCols = 
cstablestat->lstcstable[i].lstMVTables[j].numCol;
                        if (tmpNumMVCols != 0){
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to