diff options
| author | Dejan Lekic <dejan.lekic@gmail.com> | 2005-08-05 13:31:02 +0000 |
|---|---|---|
| committer | Dejan Lekic <dejan.lekic@gmail.com> | 2005-08-05 13:31:02 +0000 |
| commit | 2febbc8176daad3a6c82175f8fe37f81daba5400 (patch) | |
| tree | cd5657ef03fb758550542507a582c760073cb799 /FL | |
| parent | 0a5b7239d432dd9b2d13534d61edb7785c8dbf66 (diff) | |
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
Diffstat (limited to 'FL')
| -rw-r--r-- | FL/Fl_Check_Browser.H | 2 |
1 files changed, 1 insertions, 1 deletions
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() |
