From 2febbc8176daad3a6c82175f8fe37f81daba5400 Mon Sep 17 00:00:00 2001 From: Dejan Lekic Date: Fri, 5 Aug 2005 13:31:02 +0000 Subject: 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 --- FL/Fl_Check_Browser.H | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FL/Fl_Check_Browser.H b/FL/Fl_Check_Browser.H index e7771545f..f4fd54d89 100644 --- a/FL/Fl_Check_Browser.H +++ b/FL/Fl_Check_Browser.H @@ -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() -- cgit v1.2.3