diff options
author | David Robillard <d@drobilla.net> | 2015-09-10 22:49:58 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2015-09-10 22:49:58 +0000 |
commit | 91dec7da7f26ad983def896b03cb0a2bc6290c9c (patch) | |
tree | 75b765bbc43a8ff7611b1067b0c720d905247dc3 /src/instance.c | |
parent | d3fff833545e4c912e8c5517818f9f6f225c0df8 (diff) | |
download | lilv-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/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 80bbb99..66f5d13 100644 --- a/src/instance.c +++ b/src/instance.c @@ -38,7 +38,7 @@ lilv_plugin_instantiate(const LilvPlugin* plugin, LilvLib* lib = lilv_lib_open(plugin->world, lib_uri, bundle_path, features); if (!lib) { - free(bundle_path); + lilv_free(bundle_path); return NULL; } @@ -47,7 +47,7 @@ lilv_plugin_instantiate(const LilvPlugin* plugin, SerdURI base_uri; if (serd_uri_parse((const uint8_t*)bundle_uri_str, &base_uri)) { lilv_lib_close(lib); - free(bundle_path); + lilv_free(bundle_path); return NULL; } @@ -95,7 +95,7 @@ lilv_plugin_instantiate(const LilvPlugin* plugin, } free(local_features); - free(bundle_path); + lilv_free(bundle_path); if (result) { // Failed to instantiate |