Changeset: 86273f37609a for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/86273f37609a
Modified Files:
sql/backends/monet5/UDF/capi/capi.c
Branch: Sep2022
Log Message:
don't add inputs we free via CUDFeval itself on the allocated_regions stack
diffs (14 lines):
diff --git a/sql/backends/monet5/UDF/capi/capi.c
b/sql/backends/monet5/UDF/capi/capi.c
--- a/sql/backends/monet5/UDF/capi/capi.c
+++ b/sql/backends/monet5/UDF/capi/capi.c
@@ -220,7 +220,9 @@ static void *wrapped_GDK_zalloc_nojump(s
if (!ptr) {
return NULL;
}
- return add_allocated_region(ptr);
+ /*return add_allocated_region(ptr); we GDKfree this already in the
CUDFeval, so no need to keep it in the
+ * allocated_regions */
+ return ptr;
}
#define GENERATE_NUMERIC_IS_NULL(type, tpename) \
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]