From 24c22074662711dbb6bac2eadca557f98f356a9a Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 23 Jun 2024 16:27:49 -0400 Subject: Gracefully handle errors while writing the end of anonymous nodes --- src/n3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/n3.c b/src/n3.c index b1eb0d2c..6cb8522e 100644 --- a/src/n3.c +++ b/src/n3.c @@ -1115,7 +1115,7 @@ read_anon(SerdReader* const reader, read_ws_star(reader); if (reader->end_sink) { - reader->end_sink(reader->handle, deref(reader, *dest)); + st = reader->end_sink(reader->handle, deref(reader, *dest)); } *ctx.flags = old_flags; -- cgit v1.2.1