diff options
Diffstat (limited to 'test/test_overflow.c')
-rw-r--r-- | test/test_overflow.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/test_overflow.c b/test/test_overflow.c index b81d4367..db20f734 100644 --- a/test/test_overflow.c +++ b/test/test_overflow.c @@ -23,7 +23,8 @@ test_size(SerdWorld* const world, serd_world_set_limits(world, limits); SerdSink* sink = serd_sink_new(NULL, NULL, NULL); - SerdReader* const reader = serd_reader_new(world, syntax, flags, sink); + SerdEnv* const env = serd_env_new(serd_empty_string()); + SerdReader* const reader = serd_reader_new(world, syntax, flags, env, sink); if (!reader) { return SERD_BAD_STACK; } @@ -38,6 +39,7 @@ test_size(SerdWorld* const world, serd_close_input(&in); serd_node_free(string_name); serd_reader_free(reader); + serd_env_free(env); serd_sink_free(sink); return st; |