Fix illegal memory access after free when closing fluid (STR #3427).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12566 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
2c01c3ece9
commit
c249933075
2
CHANGES
2
CHANGES
@ -3,6 +3,8 @@ CHANGES IN FLTK 1.3.5 RELEASED: ??? ?? 2017
|
||||
|
||||
Bug fixes and other improvements
|
||||
|
||||
- Fix illegal memory access after free when closing fluid (valgrind
|
||||
reports "Invalid read of size 4"), see also STR #3427.
|
||||
- Fix crash when closing fluid with Fl_Table (STR #3427).
|
||||
- Fix ignored buffer pre-allocation (requestedSize) in Fl_Text_Buffer.
|
||||
See fltk.general "Fl_Text_Buffer constructor bug" on Dec 5, 2016.
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
//
|
||||
// FLUID main entry for the Fast Light Tool Kit (FLTK).
|
||||
//
|
||||
// Copyright 1998-2016 by Bill Spitzak and others.
|
||||
// Copyright 1998-2017 by Bill Spitzak and others.
|
||||
//
|
||||
// This library is free software. Distribution and use rights are outlined in
|
||||
// the file "COPYING" which should have been included with this file. If this
|
||||
@ -441,6 +441,7 @@ void exit_cb(Fl_Widget *,void *) {
|
||||
svp.set("tab", sv_tab->find(sv_tab->value()));
|
||||
save_position(sourceview_panel,"sourceview_pos");
|
||||
delete sourceview_panel;
|
||||
sourceview_panel = 0;
|
||||
}
|
||||
if (about_panel)
|
||||
delete about_panel;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user