mirror of https://github.com/fltk/fltk
Fix memory leak in Fl_Terminal (#867)
This commit is contained in:
parent
e951db4c49
commit
411c3df1cb
|
@ -3208,6 +3208,7 @@ Fl_Terminal::~Fl_Terminal(void) {
|
|||
{ Fl::remove_timeout(autoscroll_timer_cb, this); autoscroll_dir_ = 0; }
|
||||
if (redraw_timer_)
|
||||
{ Fl::remove_timeout(redraw_timer_cb, this); redraw_timer_ = false; }
|
||||
delete current_style_;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue