aboutsummaryrefslogtreecommitdiffstats
path: root/src/reader.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/reader.c')
-rw-r--r--src/reader.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/reader.c b/src/reader.c
index c3e2e268..065a6040 100644
--- a/src/reader.c
+++ b/src/reader.c
@@ -115,6 +115,10 @@ emit_statement(SerdReader* reader, ReadContext ctx, SerdNode* o)
graph = reader->default_graph;
}
+ /* Zero the pad of the object node on the top of the stack. Lower nodes
+ (subject and predicate) were already zeroed by subsequent pushes. */
+ serd_node_zero_pad(o);
+
const SerdStatus st =
!reader->sink->statement
? SERD_SUCCESS