summaryrefslogtreecommitdiffstats
path: root/src/instance.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-04-15 21:30:42 +0200
committerDavid Robillard <d@drobilla.net>2019-04-15 23:03:10 +0200
commit123faa561b6fad8e510dd0bc00df40fdd5d0574d (patch)
tree2e9c4aacc17a4e70388b614545d85e19f80c6292 /src/instance.c
parentf5af942a11bd2f3b718adf70ca15c4a62372ee78 (diff)
downloadlilv-123faa561b6fad8e510dd0bc00df40fdd5d0574d.tar.gz
lilv-123faa561b6fad8e510dd0bc00df40fdd5d0574d.tar.bz2
lilv-123faa561b6fad8e510dd0bc00df40fdd5d0574d.zip
Fix mismatched malloc/free calls
Diffstat (limited to 'src/instance.c')
-rw-r--r--src/instance.c4
1 files changed, 2 insertions, 2 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) {