aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/writer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/writer.c b/src/writer.c
index 2fc593d9..ee935269 100644
--- a/src/writer.c
+++ b/src/writer.c
@@ -915,6 +915,7 @@ serd_writer_finish(SerdWriter* writer)
free_context(writer);
writer->indent = 0;
writer->context = WRITE_CONTEXT_NULL;
+ writer->empty = true;
return SERD_SUCCESS;
}