Changeset: f416047ab81b for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=f416047ab81b
Modified Files:
        sql/backends/monet5/UDF/pyapi/emit.c
Branch: default
Log Message:

Freeing memory for Blobs in UDFs


diffs (11 lines):

diff --git a/sql/backends/monet5/UDF/pyapi/emit.c 
b/sql/backends/monet5/UDF/pyapi/emit.c
--- a/sql/backends/monet5/UDF/pyapi/emit.c
+++ b/sql/backends/monet5/UDF/pyapi/emit.c
@@ -232,6 +232,7 @@ PyObject *PyEmit_Emit(PyEmitObject *self
                                                        msg = 
GDKstrdup("BUNappend failed.");
                                                goto wrapup;
                                        }
+                               GDKfree(val);
                                } else {
                                        switch (self->cols[i].b->ttype) {
                                                case TYPE_bit:
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to