diff options
author | David Robillard <d@drobilla.net> | 2018-05-12 20:39:23 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2018-11-25 22:12:47 +0100 |
commit | 24d7ed6bcfdc340874f9cdf7eb5a056567668a08 (patch) | |
tree | 3fc54001b48ba2bee371561ae1b73290b3688548 /src/writer.c | |
parent | ba67dcd8288e73beb4aa571541b73a6b1ea143af (diff) | |
download | serd-24d7ed6bcfdc340874f9cdf7eb5a056567668a08.tar.gz serd-24d7ed6bcfdc340874f9cdf7eb5a056567668a08.tar.bz2 serd-24d7ed6bcfdc340874f9cdf7eb5a056567668a08.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 a82835ed..1ee933e6 100644 --- a/src/writer.c +++ b/src/writer.c @@ -876,7 +876,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; |