Changeset: 1698eb518135 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=1698eb518135
Modified Files:
        sql/backends/monet5/sql_result.c
Branch: protocol
Log Message:

More memory leak fixes.


diffs (15 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
@@ -2041,7 +2041,10 @@ int mvc_export_resultset_prot10(mvc *m, 
                                                BUNappend(res, result, FALSE);
                                        }
                                }
-                        }
+                       }
+                       if (result) {
+                               GDKfree(result);
+                       }
                        // if converting to string, we use str_nil
                        BBPunfix(iterators[i].b->batCacheid);
                        iterators[i] = bat_iterator(res);
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to