13
0

Fix a memory leak (unsupported LV2 plugin)

This commit is contained in:
Robin Gareus 2020-05-16 01:36:04 +02:00
parent d812c77362
commit 76c6aab7d1
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -3578,12 +3578,12 @@ LV2PluginInfo::discover()
}
}
lilv_nodes_free (required_features);
if (err) {
continue;
}
lilv_nodes_free (required_features);
LilvNodes* required_options = lilv_world_find_nodes (world.world, lilv_plugin_get_uri (p), world.opts_requiredOptions, NULL);
if (required_options) {
LILV_FOREACH(nodes, i, required_options) {