diff options
-rw-r--r-- | src/world.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/world.c b/src/world.c index b26ff55..9ebdaac 100644 --- a/src/world.c +++ b/src/world.c @@ -267,6 +267,10 @@ struct LilvHeader* lilv_collection_get_by_uri(const ZixTree* const_seq, const LilvNode* uri) { + if (!lilv_node_is_uri(uri)) { + return NULL; + } + ZixTree* seq = (ZixTree*)const_seq; struct LilvHeader key = { NULL, (LilvNode*)uri }; |