diff options
author | David Robillard <d@drobilla.net> | 2016-09-18 15:13:52 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2016-09-18 15:13:52 -0400 |
commit | 7ce645cfe6fffef55eb43e1e2b63e4ac41c8581c (patch) | |
tree | dd5b03025c8984da6b52f5d1653ac140bf81c7e1 /src/instance.c | |
parent | 7a68f1e59abd84574d8b8ccf6289b6c01bf428c6 (diff) | |
download | lilv-7ce645cfe6fffef55eb43e1e2b63e4ac41c8581c.tar.gz lilv-7ce645cfe6fffef55eb43e1e2b63e4ac41c8581c.tar.bz2 lilv-7ce645cfe6fffef55eb43e1e2b63e4ac41c8581c.zip |
Fix memory, file, and library leaks
Diffstat (limited to 'src/instance.c')
-rw-r--r-- | src/instance.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/instance.c b/src/instance.c index 9f27fa6..d05defd 100644 --- a/src/instance.c +++ b/src/instance.c @@ -78,6 +78,7 @@ lilv_plugin_instantiate(const LilvPlugin* plugin, if (result->lv2_handle == NULL) { // Failed to instantiate free(result); + lilv_lib_close(lib); return NULL; } |