Skip to content

Commit

Permalink
Fix crash when manually fetching author homepage from ttl
Browse files Browse the repository at this point in the history
Signed-off-by: falkTX <falktx@falktx.com>
  • Loading branch information
falkTX committed Mar 23, 2024
1 parent a1e043c commit 5d52614
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/utils_lilv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 5d52614

Please sign in to comment.