diff options
| -rw-r--r-- | fluid/file.cxx | 3 | ||||
| -rw-r--r-- | fluid/function_panel.fl | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/fluid/file.cxx b/fluid/file.cxx index d8920e165..3d2d8745f 100644 --- a/fluid/file.cxx +++ b/fluid/file.cxx @@ -121,6 +121,9 @@ Fd_Project_Reader::Fd_Project_Reader() /** \brief Release project reader resources. */ Fd_Project_Reader::~Fd_Project_Reader() { + // fname is not copied, so do not free it + if (buffer) + ::free(buffer); } /** diff --git a/fluid/function_panel.fl b/fluid/function_panel.fl index a5cf2ae4e..cbe505ccc 100644 --- a/fluid/function_panel.fl +++ b/fluid/function_panel.fl @@ -17,7 +17,7 @@ comment {// // // https://www.fltk.org/bugs.php // -} {selected in_source in_header +} {in_source in_header } decl {\#include "fluid.h"} {private local @@ -496,7 +496,7 @@ Function {make_comment_panel()} {open xywh {370 250 80 20} labelsize 11 hotspot } Fl_Button comment_panel_cancel { - label Cancel + label Cancel selected xywh {460 250 80 20} shortcut 0xff1b labelsize 11 } Fl_Box {} { |
