mirror of https://github.com/fltk/fltk
FLUID: another memory leak
This commit is contained in:
parent
60be3e94cc
commit
a3251b3208
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -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 {} {
|
||||
|
|
Loading…
Reference in New Issue