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 Sep 28, 2024
1 parent 6e57ecc commit 324d412
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 @@ -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);
Expand Down

0 comments on commit 324d412

Please sign in to comment.