LV2 fix a tiny memory leak introduced in c0b61d5a28

This commit is contained in:
Robin Gareus 2024-09-11 05:31:27 +02:00
parent 1737b48aec
commit ab533c38a3
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04

View file

@ -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;