aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_reader_writer.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-12-19 17:55:02 -0500
committerDavid Robillard <d@drobilla.net>2023-12-02 18:49:08 -0500
commit0f9816d67bc67a396607291f845ca2a33c2285a7 (patch)
treeb31fd1b344305dc984a2109084fa183573a0ae43 /test/test_reader_writer.c
parent258ea2ff59bbd2127ea446cf4b9676ad3d7fe53d (diff)
downloadserd-0f9816d67bc67a396607291f845ca2a33c2285a7.tar.gz
serd-0f9816d67bc67a396607291f845ca2a33c2285a7.tar.bz2
serd-0f9816d67bc67a396607291f845ca2a33c2285a7.zip
Use ZixAllocator directly
Diffstat (limited to 'test/test_reader_writer.c')
-rw-r--r--test/test_reader_writer.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/test_reader_writer.c b/test/test_reader_writer.c
index 1858d570..0237cb6c 100644
--- a/test/test_reader_writer.c
+++ b/test/test_reader_writer.c
@@ -7,7 +7,6 @@
#include "serd/env.h"
#include "serd/event.h"
#include "serd/input_stream.h"
-#include "serd/memory.h"
#include "serd/node.h"
#include "serd/nodes.h"
#include "serd/output_stream.h"
@@ -233,7 +232,7 @@ test_writer(const char* const path)
char* const out = (char*)buffer.buf;
assert(out);
assert(!strcmp(out, "@base <http://example.org/base> .\n"));
- serd_free(NULL, buffer.buf);
+ zix_free(NULL, buffer.buf);
serd_env_free(env);
serd_world_free(world);