aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_overflow.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_overflow.c')
-rw-r--r--test/test_overflow.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/test_overflow.c b/test/test_overflow.c
index f7fdfa58..2461d713 100644
--- a/test/test_overflow.c
+++ b/test/test_overflow.c
@@ -38,7 +38,7 @@ test_size(SerdWorld* const world,
assert(reader);
- SerdNode* string_name = serd_new_string(SERD_STRING("string"));
+ SerdNode* string_name = serd_new_string(NULL, SERD_STRING("string"));
const char* position = str;
SerdInputStream in = serd_open_input_string(&position);
serd_reader_start(reader, &in, string_name, 1);
@@ -46,7 +46,7 @@ test_size(SerdWorld* const world,
const SerdStatus st = serd_reader_read_document(reader);
serd_close_input(&in);
- serd_node_free(string_name);
+ serd_node_free(NULL, string_name);
serd_reader_free(reader);
serd_env_free(env);
serd_sink_free(sink);
@@ -85,7 +85,7 @@ test_ntriples_overflow(void)
NULL,
};
- SerdWorld* const world = serd_world_new();
+ SerdWorld* const world = serd_world_new(NULL);
for (const char* const* t = test_strings; *t; ++t) {
test_all_sizes(world, *t, SERD_NTRIPLES, 0u);
@@ -211,7 +211,7 @@ test_turtle_overflow(void)
NULL,
};
- SerdWorld* const world = serd_world_new();
+ SerdWorld* const world = serd_world_new(NULL);
for (const char* const* t = test_strings; *t; ++t) {
test_all_sizes(world, *t, SERD_TURTLE, SERD_READ_VARIABLES);