mirror of
https://github.com/fltk/fltk.git
synced 2026-05-28 03:15:21 +08:00
Fixed memory leak in Fl_Check_Browser reported by "miguel2i" .
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4461 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
@@ -69,7 +69,7 @@ class FL_EXPORT Fl_Check_Browser : public Fl_Browser_ {
|
|||||||
public:
|
public:
|
||||||
|
|
||||||
Fl_Check_Browser(int x, int y, int w, int h, const char *l = 0);
|
Fl_Check_Browser(int x, int y, int w, int h, const char *l = 0);
|
||||||
|
~Fl_Check_Browser() { clear(); }
|
||||||
int add(char *s); // add an (unchecked) item
|
int add(char *s); // add an (unchecked) item
|
||||||
int add(char *s, int b); // add an item and set checked
|
int add(char *s, int b); // add an item and set checked
|
||||||
// both return the new nitems()
|
// both return the new nitems()
|
||||||
|
|||||||
Reference in New Issue
Block a user