From 324d4127ddfd9e1b9f083e36a299e6e49f7a253b 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 ea20db23..ffdf2567 100644 --- a/utils/utils_lilv.cpp +++ b/utils/utils_lilv.cpp @@ -2084,7 +2084,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);