more MTC debugging
[ardour.git] / libs / ardour / lv2_plugin.cc
index 6c593a869aa8ed741a026a1478f3dbe51fae2d10..13cc78c5c0e7091adcf516a2d914153f8773bf8e 100644 (file)
@@ -181,8 +181,6 @@ LV2Plugin::~LV2Plugin ()
        deactivate ();
        cleanup ();
 
-       drop_references ();
-
        slv2_instance_free(_instance);
        slv2_value_free(_name);
        slv2_value_free(_author);
@@ -724,6 +722,8 @@ LV2PluginInfo::discover (void* lv2_world)
                        continue;
                }
 
+               info->type = LV2;
+
                info->name = string(slv2_value_as_string(name));
                slv2_value_free(name);