aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/writer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/writer.c b/src/writer.c
index 1b691887..502d74d3 100644
--- a/src/writer.c
+++ b/src/writer.c
@@ -1075,6 +1075,7 @@ serd_writer_finish(SerdWriter* writer)
free_context(writer);
writer->indent = 0;
writer->context = WRITE_CONTEXT_NULL;
+ writer->empty = true;
return SERD_SUCCESS;
}