Skip to content

Commit 3265d63

Browse files
sejerpzfalkTX
authored andcommitted
fix leak in port group name
1 parent a8d326f commit 3265d63

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
@@ -2886,7 +2886,7 @@ const PluginInfo& _get_plugin_info(LilvWorld* const w,
28862886
if (LilvNode* const group_name = lilv_world_get(w, group, ns.lv2core_name, nullptr))
28872887
{
28882888
if (const char* const namestr = lilv_node_as_string(group_name))
2889-
portGroup.symbol = strdup(namestr);
2889+
portGroup.name = strdup(namestr);
28902890

28912891
lilv_node_free(group_name);
28922892
}

0 commit comments

Comments
 (0)