Skip to content

Commit 324d412

Browse files
committed
Fix crash when manually fetching author homepage from ttl
Signed-off-by: falkTX <[email protected]>
1 parent 6e57ecc commit 324d412

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/utils_lilv.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2084,7 +2084,7 @@ const PluginInfo& _get_plugin_info(LilvWorld* const w,
20842084
{
20852085
if (LilvNode* const mntnr = lilv_world_get(w, lilv_nodes_get_first(nodes2), ns.doap_maintainer, nullptr))
20862086
{
2087-
if (LilvNode* const hmpg = lilv_world_get(w, lilv_nodes_get_first(mntnr), ns.foaf_homepage, nullptr))
2087+
if (LilvNode* const hmpg = lilv_world_get(w, mntnr, ns.foaf_homepage, nullptr))
20882088
{
20892089
info.author.homepage = strdup(lilv_node_as_string(hmpg));
20902090
lilv_node_free(hmpg);

0 commit comments

Comments
 (0)