aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-12-29 17:36:15 -0500
committerDavid Robillard <d@drobilla.net>2020-10-27 13:13:58 +0100
commit94efab288a499e9e5f3f3ef5c9daddab616c174b (patch)
treea9902616544be73b253d5e92f23e83ad8e1990f4 /tests
parent47d1df0f22cc8330595b7c0e19762aeb28ac80c6 (diff)
downloadserd-94efab288a499e9e5f3f3ef5c9daddab616c174b.tar.gz
serd-94efab288a499e9e5f3f3ef5c9daddab616c174b.tar.bz2
serd-94efab288a499e9e5f3f3ef5c9daddab616c174b.zip
Use public sink interface in reader
Diffstat (limited to 'tests')
-rw-r--r--tests/env_test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/env_test.c b/tests/env_test.c
index b636048b..c0629da5 100644
--- a/tests/env_test.c
+++ b/tests/env_test.c
@@ -90,6 +90,7 @@ test_env(void)
serd_sink_set_prefix_func(count_prefixes_sink, count_prefixes);
serd_env_set_prefix(env, pre, eg);
serd_env_write_prefixes(env, count_prefixes_sink);
+ serd_sink_free(count_prefixes_sink);
assert(n_prefixes == 1);
SerdNode* shorter_uri = serd_new_uri("urn:foo");