From 5d52614d634a31cf7409ba537160b9baf21cfe6e Mon Sep 17 00:00:00 2001 From: falkTX Date: Sat, 23 Mar 2024 09:24:10 +0100 Subject: [PATCH] Fix crash when manually fetching author homepage from ttl Signed-off-by: falkTX --- utils/utils_lilv.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/utils_lilv.cpp b/utils/utils_lilv.cpp index a18af187..28aa671f 100644 --- a/utils/utils_lilv.cpp +++ b/utils/utils_lilv.cpp @@ -2210,7 +2210,7 @@ const PluginInfo& _get_plugin_info(LilvWorld* const w, { if (LilvNode* const mntnr = lilv_world_get(w, lilv_nodes_get_first(nodes2), ns.doap_maintainer, nullptr)) { - if (LilvNode* const hmpg = lilv_world_get(w, lilv_nodes_get_first(mntnr), ns.foaf_homepage, nullptr)) + if (LilvNode* const hmpg = lilv_world_get(w, mntnr, ns.foaf_homepage, nullptr)) { info.author.homepage = strdup(lilv_node_as_string(hmpg)); lilv_node_free(hmpg);