mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-29 01:47:43 +01:00
LV2 fix a tiny memory leak introduced in c0b61d5a28
This commit is contained in:
parent
1737b48aec
commit
ab533c38a3
1 changed files with 1 additions and 0 deletions
|
|
@ -3981,6 +3981,7 @@ LV2PluginInfo::discover (boost::function <void (std::string const&, PluginScanLo
|
|||
else if (lilv_port_has_property(p, port, world.lv2_connectionOptional)) {
|
||||
LilvNode* name = lilv_port_get_name(p, port);
|
||||
cb (uri, PluginScanLogEntry::OK, string_compose (_("Ignored optional port %1 ('%2') which has unsupported data type."), i, lilv_node_as_string (name)), false);
|
||||
lilv_node_free(name);
|
||||
}
|
||||
else if (!lilv_port_is_a(p, port, world.lv2_AudioPort)) {
|
||||
err = 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue