diff options
-rw-r--r-- | src/lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -101,7 +101,7 @@ lilv_lib_close(LilvLib* lib) dlclose(lib->lib); ZixTreeIter* i = NULL; - if (!zix_tree_find(lib->world->libs, lib, &i)) { + if (lib->world->libs && !zix_tree_find(lib->world->libs, lib, &i)) { zix_tree_remove(lib->world->libs, i); } |