aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2024-06-23 16:27:49 -0400
committerDavid Robillard <d@drobilla.net>2024-06-23 16:36:03 -0400
commit24c22074662711dbb6bac2eadca557f98f356a9a (patch)
tree40b0f6639adc19078ca3f9a565caede8e14be88d /src
parentb6c9214d2077c87fa19cc5431732f1b496797bed (diff)
downloadserd-24c22074662711dbb6bac2eadca557f98f356a9a.tar.gz
serd-24c22074662711dbb6bac2eadca557f98f356a9a.tar.bz2
serd-24c22074662711dbb6bac2eadca557f98f356a9a.zip
Gracefully handle errors while writing the end of anonymous nodes
Diffstat (limited to 'src')
-rw-r--r--src/n3.c2
1 files changed, 1 insertions, 1 deletions
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;