diff options
author | David Robillard <d@drobilla.net> | 2021-10-27 21:48:48 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2021-10-27 21:48:48 -0400 |
commit | 42c4705bbcdf0a638aca6923325ed9a5660bfc26 (patch) | |
tree | 85a2f4f19f512e74ea80803c55964c7447dcbde7 /src/instance.c | |
parent | 6f36b5a3fb181f6b9f9b1538d894efe24a0e92c7 (diff) | |
download | lilv-42c4705bbcdf0a638aca6923325ed9a5660bfc26.tar.gz lilv-42c4705bbcdf0a638aca6923325ed9a5660bfc26.tar.bz2 lilv-42c4705bbcdf0a638aca6923325ed9a5660bfc26.zip |
fixup! WIP: Port to serd1
Diffstat (limited to 'src/instance.c')
-rw-r--r-- | src/instance.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/instance.c b/src/instance.c index 2c9baa9..f0ad0da 100644 --- a/src/instance.c +++ b/src/instance.c @@ -44,11 +44,11 @@ lilv_plugin_instantiate(const LilvPlugin* plugin, } char* const bundle_path = - serd_parse_file_uri(lilv_node_as_uri(bundle_uri), NULL); + serd_parse_file_uri(NULL, lilv_node_as_uri(bundle_uri), NULL); LilvLib* lib = lilv_lib_open(plugin->world, lib_uri, bundle_path, features); if (!lib) { - serd_free(bundle_path); + serd_free(NULL, bundle_path); return NULL; } @@ -81,7 +81,7 @@ lilv_plugin_instantiate(const LilvPlugin* plugin, } free(local_features); - serd_free(bundle_path); + serd_free(NULL, bundle_path); if (result) { if (result->lv2_handle == NULL) { |