fix pathscanner / stl_vector related memory leaks
[ardour.git] / gtk2_ardour / plugin_ui.cc
index ac5f7fd9a627b02e339f0fd7b048f6d0c2bd013e..190fd2ad969bddb5f6b1a0c253fc86aa8ac0fbe0 100644 (file)
@@ -227,7 +227,7 @@ PluginUIWindow::create_windows_vst_editor(boost::shared_ptr<PluginInsert>)
                      << endmsg;
                throw failed_constructor ();
        } else {
-               WindowsVSTPluginUI* vpu = new WindowsVSTPluginUI (insert, vp);
+               WindowsVSTPluginUI* vpu = new WindowsVSTPluginUI (insert, vp, GTK_WIDGET(this->gobj()));
 
                _pluginui = vpu;
                _pluginui->KeyboardFocused.connect (sigc::mem_fun (*this, &PluginUIWindow::keyboard_focused));