Fix memory leak in Fl_Terminal (#867)

This commit is contained in:
Albrecht Schlosser 2023-12-16 01:37:21 +01:00
parent e951db4c49
commit 411c3df1cb

View File

@ -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_;
}
/**