summaryrefslogtreecommitdiffstats
path: root/test/missing_port.lv2/test_missing_port.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2021-10-27 21:48:48 -0400
committerDavid Robillard <d@drobilla.net>2021-10-27 21:48:48 -0400
commit42c4705bbcdf0a638aca6923325ed9a5660bfc26 (patch)
tree85a2f4f19f512e74ea80803c55964c7447dcbde7 /test/missing_port.lv2/test_missing_port.c
parent6f36b5a3fb181f6b9f9b1538d894efe24a0e92c7 (diff)
downloadlilv-42c4705bbcdf0a638aca6923325ed9a5660bfc26.tar.gz
lilv-42c4705bbcdf0a638aca6923325ed9a5660bfc26.tar.bz2
lilv-42c4705bbcdf0a638aca6923325ed9a5660bfc26.zip
fixup! WIP: Port to serd1
Diffstat (limited to 'test/missing_port.lv2/test_missing_port.c')
-rw-r--r--test/missing_port.lv2/test_missing_port.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/missing_port.lv2/test_missing_port.c b/test/missing_port.lv2/test_missing_port.c
index 05430cb..fcb5435 100644
--- a/test/missing_port.lv2/test_missing_port.c
+++ b/test/missing_port.lv2/test_missing_port.c
@@ -25,10 +25,12 @@ main(int argc, char** argv)
// Load test plugin bundle
char* const abs_bundle = lilv_path_absolute(bundle_path);
const SerdStringView abs_bundle_view = SERD_STRING(abs_bundle);
- SerdNode* bundle = serd_new_file_uri(abs_bundle_view, SERD_EMPTY_STRING());
+ SerdNode* bundle =
+ serd_new_file_uri(NULL, abs_bundle_view, SERD_EMPTY_STRING());
+
lilv_world_load_bundle(world, bundle);
free(abs_bundle);
- serd_node_free(bundle);
+ serd_node_free(NULL, bundle);
LilvNode* plugin_uri = lilv_new_uri(world, PLUGIN_URI);
const LilvPlugins* plugins = lilv_world_get_all_plugins(world);