Reintroducing delet o;

This commit is contained in:
Matthias Melcher
2022-01-11 23:01:48 +01:00
parent 59384b359c
commit b2498781de
+1 -1
View File
@@ -219,7 +219,7 @@ Fl_Widget_Type::~Fl_Widget_Type() {
win->redraw();
if (o->parent())
((Fl_Group*)o->parent())->remove(*o);
Fl::delete_widget(o);
delete o;
}
if (subclass_) free((void*)subclass_);
if (tooltip_) free((void*)tooltip_);