13
0
This commit is contained in:
Robin Gareus 2014-09-10 12:49:21 +02:00
parent d421602c24
commit b26ecdda63

View File

@ -2063,7 +2063,7 @@ LV2PluginInfo::load(Session& session)
if (!lp) { throw failed_constructor(); }
plugin.reset(new LV2Plugin(session.engine(), session, lp, session.frame_rate()));
lilv_node_free(uri);
plugin->set_info(PluginInfoPtr(new LV2PluginInfo(_plugin_uri)));
plugin->set_info(PluginInfoPtr(new LV2PluginInfo(*this)));
return plugin;
} catch (failed_constructor& err) {
return PluginPtr((Plugin*)0);