Changeset: 37dfe283448d for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/37dfe283448d
Modified Files:
        sql/backends/monet5/UDF/pyapi3/conversion3.c
Branch: Jan2022
Log Message:

Compensate for logical incref in MAL stub.


diffs (11 lines):

diff --git a/sql/backends/monet5/UDF/pyapi3/conversion3.c 
b/sql/backends/monet5/UDF/pyapi3/conversion3.c
--- a/sql/backends/monet5/UDF/pyapi3/conversion3.c
+++ b/sql/backends/monet5/UDF/pyapi3/conversion3.c
@@ -1197,6 +1197,7 @@ str ConvertToSQLType(Client cntxt, BAT *
        }
        if (res == MAL_SUCCEED) {
                *ret_bat = BATdescriptor(result_bat);
+               BBPrelease(result_bat);
                *ret_type = (*ret_bat)->ttype;
        }
 
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to