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:
Dejan Lekic
2005-08-05 13:31:02 +00:00
parent 0a5b7239d4
commit 2febbc8176
+1 -1
View File
@@ -69,7 +69,7 @@ class FL_EXPORT Fl_Check_Browser : public Fl_Browser_ {
public:
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, int b); // add an item and set checked
// both return the new nitems()