summaryrefslogtreecommitdiffstats
path: root/src/state.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2015-09-10 22:49:58 +0000
committerDavid Robillard <d@drobilla.net>2015-09-10 22:49:58 +0000
commit91dec7da7f26ad983def896b03cb0a2bc6290c9c (patch)
tree75b765bbc43a8ff7611b1067b0c720d905247dc3 /src/state.c
parentd3fff833545e4c912e8c5517818f9f6f225c0df8 (diff)
downloadlilv-91dec7da7f26ad983def896b03cb0a2bc6290c9c.tar.gz
lilv-91dec7da7f26ad983def896b03cb0a2bc6290c9c.tar.bz2
lilv-91dec7da7f26ad983def896b03cb0a2bc6290c9c.zip
Use lilv_free() where appropriate.
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5721 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/state.c')
-rw-r--r--src/state.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/state.c b/src/state.c
index 79199e4..a29581a 100644
--- a/src/state.c
+++ b/src/state.c
@@ -1117,7 +1117,7 @@ lilv_state_delete(LilvWorld* world,
if (unlink(file_path)) {
LILV_ERRORF("Failed to remove %s (%s)\n", file_path, strerror(errno));
}
- free(file_path);
+ lilv_free(file_path);
}
// Remove any existing manifest entries for this state
@@ -1140,14 +1140,14 @@ lilv_state_delete(LilvWorld* world,
LILV_ERRORF("Failed to remove %s (%s)\n",
dir_path, strerror(errno));
}
- free(dir_path);
+ lilv_free(dir_path);
} else {
// Still something in the manifest, reload bundle
lilv_world_load_bundle(world, bundle);
}
sord_free(model);
- free(manifest_path);
+ lilv_free(manifest_path);
lilv_node_free(manifest);
lilv_node_free(bundle);