Some fixes for memory leaks, issue #657
Added Gtk:manage() on widgets and some destructors.
This commit is contained in:
@@ -61,7 +61,7 @@ Equalizer::Equalizer () : Gtk::VBox(), FoldableToolPanel(this) {
|
||||
if(i == 7)
|
||||
ss << " (" << M("TP_EQUALIZER_LARGEST") << ")";
|
||||
|
||||
correction[i] = new Adjuster (ss.str(), -100, 100, 1, 0);
|
||||
correction[i] = Gtk::manage ( new Adjuster (ss.str(), -100, 100, 1, 0) );
|
||||
correction[i]->setAdjusterListener(this);
|
||||
pack_start(*correction[i]);
|
||||
}
|
||||
|
Reference in New Issue
Block a user