From 1a85dd98f9f709df01bd68f51253f69cef402207 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 5 Apr 2024 12:17:01 -0400 Subject: [PATCH] [r/ci] Unbreak wheel builds (#2398) (#2401) Co-authored-by: John Kerl --- libtiledbsoma/src/utils/nanoarrow.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libtiledbsoma/src/utils/nanoarrow.c b/libtiledbsoma/src/utils/nanoarrow.c index c946c01362..c88abc83fa 100644 --- a/libtiledbsoma/src/utils/nanoarrow.c +++ b/libtiledbsoma/src/utils/nanoarrow.c @@ -1713,6 +1713,10 @@ int64_t ArrowSchemaToString(const struct ArrowSchema* schema, char* out, int64_t return snprintf(out, n, "[invalid: schema is released]"); } + if (out == NULL) { + return 0; + } + struct ArrowSchemaView schema_view; struct ArrowError error;