summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/instance.c4
-rw-r--r--src/state.c6
2 files changed, 5 insertions, 5 deletions
diff --git a/src/instance.c b/src/instance.c
index ac263c7..75c550c 100644
--- a/src/instance.c
+++ b/src/instance.c
@@ -47,7 +47,7 @@ lilv_plugin_instantiate(const LilvPlugin* plugin,
LilvLib* lib = lilv_lib_open(plugin->world, lib_uri, bundle_path, features);
if (!lib) {
- lilv_free(bundle_path);
+ serd_free(bundle_path);
return NULL;
}
@@ -81,7 +81,7 @@ lilv_plugin_instantiate(const LilvPlugin* plugin,
}
free(local_features);
- lilv_free(bundle_path);
+ serd_free(bundle_path);
if (result) {
if (result->lv2_handle == NULL) {
diff --git a/src/state.c b/src/state.c
index f2b88e7..57c4b86 100644
--- a/src/state.c
+++ b/src/state.c
@@ -1194,10 +1194,10 @@ lilv_state_delete(LilvWorld* world,
model, state->uri->node, world->uris.rdfs_seeAlso, NULL, NULL);
if (file) {
// Remove state file
- char* path = lilv_file_uri_parse(
- (const char*)sord_node_get_string(file), NULL);
+ char* path =
+ (char*)serd_file_uri_parse(sord_node_get_string(file), NULL);
try_unlink(path);
- lilv_free(path);
+ serd_free(path);
}
// Remove any existing manifest entries for this state