aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_writer.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_writer.c')
-rw-r--r--test/test_writer.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/test/test_writer.c b/test/test_writer.c
index baaff736..08191585 100644
--- a/test/test_writer.c
+++ b/test/test_writer.c
@@ -41,6 +41,7 @@ test_write_long_literal(void)
assert(!serd_writer_write_statement(writer, 0, NULL, &s, &p, &o, NULL, NULL));
serd_writer_free(writer);
+ serd_env_free(env);
uint8_t* out = serd_chunk_sink_finish(&chunk);
@@ -55,11 +56,7 @@ test_write_long_literal(void)
int
main(void)
{
- const char* const path = "serd_test.ttl";
-
- test_writer(path);
test_write_long_literal();
- printf("Success\n");
return 0;
}