diff options
author | David Robillard <d@drobilla.net> | 2012-03-18 04:27:02 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-03-18 04:27:02 +0000 |
commit | b123caf6dd31fe7d9b22b05ad06832d33feab0e5 (patch) | |
tree | 68aa6a74f4e1b75b23a886b70722f93abb531c78 /src | |
parent | 92ebfc3a79abb5762a12217e6bac97ef0bdf3ee8 (diff) | |
download | lilv-b123caf6dd31fe7d9b22b05ad06832d33feab0e5.tar.gz lilv-b123caf6dd31fe7d9b22b05ad06832d33feab0e5.tar.bz2 lilv-b123caf6dd31fe7d9b22b05ad06832d33feab0e5.zip |
Fix odd crash...
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@4076 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-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); } |