summaryrefslogtreecommitdiffstats
path: root/src/lib.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib.c')
-rw-r--r--src/lib.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib.c b/src/lib.c
index 8470684..f828d4f 100644
--- a/src/lib.c
+++ b/src/lib.c
@@ -57,6 +57,7 @@ lilv_lib_open(LilvWorld* world,
desc = ldf(bundle_path, features);
if (!desc) {
LILV_ERRORF("Call to %s:lv2_lib_descriptor failed\n", lib_path);
+ dlclose(lib);
lilv_free(lib_path);
return NULL;
}