diff options
Diffstat (limited to 'tests/read_chunk_test.c')
-rw-r--r-- | tests/read_chunk_test.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/read_chunk_test.c b/tests/read_chunk_test.c index ed648e5f..1e41ca8a 100644 --- a/tests/read_chunk_test.c +++ b/tests/read_chunk_test.c @@ -59,8 +59,9 @@ on_end(void* handle, const SerdNode* node) int main(int argc, char** argv) { + SerdWorld* world = serd_world_new(); SerdSinkInterface sink = { 0, on_base, on_prefix, on_statement, on_end }; - SerdReader* reader = serd_reader_new(SERD_TURTLE, &sink); + SerdReader* reader = serd_reader_new(world, SERD_TURTLE, &sink); if (!reader) { FAIL("Failed to create reader\n"); } @@ -99,5 +100,6 @@ main(int argc, char** argv) } serd_reader_free(reader); + serd_world_free(world); return 0; } |