aboutsummaryrefslogtreecommitdiffstats
path: root/src/writer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/writer.c')
-rw-r--r--src/writer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/writer.c b/src/writer.c
index d1f1b87f..c21676b2 100644
--- a/src/writer.c
+++ b/src/writer.c
@@ -862,7 +862,7 @@ serd_writer_new(SerdSyntax syntax,
writer->root_node = SERD_NODE_NULL;
writer->root_uri = SERD_URI_NULL;
writer->base_uri = base_uri ? *base_uri : SERD_URI_NULL;
- writer->anon_stack = serd_stack_new(sizeof(WriteContext));
+ writer->anon_stack = serd_stack_new(4 * sizeof(WriteContext));
writer->context = context;
writer->list_subj = SERD_NODE_NULL;
writer->empty = true;