From 0f9816d67bc67a396607291f845ca2a33c2285a7 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 19 Dec 2022 17:55:02 -0500 Subject: Use ZixAllocator directly --- src/writer.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/writer.c') diff --git a/src/writer.c b/src/writer.c index b87df07a..fd52a123 100644 --- a/src/writer.c +++ b/src/writer.c @@ -19,8 +19,6 @@ #include "serd/env.h" #include "serd/event.h" #include "serd/log.h" -#include "serd/memory.h" -#include "serd/node.h" #include "serd/output_stream.h" #include "serd/sink.h" #include "serd/statement.h" @@ -28,6 +26,7 @@ #include "serd/syntax.h" #include "serd/uri.h" #include "serd/world.h" +#include "zix/allocator.h" #include "zix/string_view.h" #include @@ -1406,7 +1405,7 @@ serd_writer_set_root_uri(SerdWriter* writer, const ZixStringView uri) { assert(writer); - SerdAllocator* const allocator = writer->world->allocator; + ZixAllocator* const allocator = writer->world->allocator; serd_node_free(allocator, writer->root_node); writer->root_node = NULL; -- cgit v1.2.1