Free array_schema in array preload routine
@@ -4302,6 +4302,8 @@ cdef class Array(object):
if rc != TILEDB_OK:
_raise_ctx_err(ctx_ptr, rc)
+ tiledb_array_schema_free(&schema_ptr)
+
if array_type == TILEDB_DENSE:
new_array_typed = DenseArray.__new__(DenseArray)
else:
