diff options
author | David Robillard <d@drobilla.net> | 2018-05-12 20:39:23 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2018-05-27 21:10:21 +0200 |
commit | c4b5d8a5f6973952b510ebd321cbac8aa5fb5267 (patch) | |
tree | c4b80c9b612f3f6bb8eb2561da9cd26f826579cb /src/writer.c | |
parent | 582bfbe1cb0a6aa833f56c5bd8cf42abe5c5d13a (diff) | |
download | serd-c4b5d8a5f6973952b510ebd321cbac8aa5fb5267.tar.gz serd-c4b5d8a5f6973952b510ebd321cbac8aa5fb5267.tar.bz2 serd-c4b5d8a5f6973952b510ebd321cbac8aa5fb5267.zip |
Use fixed size stack
Diffstat (limited to 'src/writer.c')
-rw-r--r-- | src/writer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/writer.c b/src/writer.c index 2f17d86d..f4f60413 100644 --- a/src/writer.c +++ b/src/writer.c @@ -877,7 +877,7 @@ serd_writer_new(SerdWorld* world, writer->env = env; writer->root_node = NULL; writer->root_uri = SERD_URI_NULL; - writer->anon_stack = serd_stack_new(4 * sizeof(WriteContext)); + writer->anon_stack = serd_stack_new(SERD_PAGE_SIZE); writer->context = context; writer->list_subj = NULL; writer->empty = true; |