diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2002-09-04 20:33:18 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2002-09-04 20:33:18 +0000 |
| commit | 32b9640e1ca9ce14f802309ad7818c23910dc62c (patch) | |
| tree | c89669a586e5bb23416841d4924520d8ea9a5175 /src/Fl_Chart.cxx | |
| parent | 0196542a090c4f225061553fdfbf234cb9da89ab (diff) | |
Fixes from Matthew Morrise.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2618 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Chart.cxx')
| -rw-r--r-- | src/Fl_Chart.cxx | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/Fl_Chart.cxx b/src/Fl_Chart.cxx index ef1a34643..cd2564fc1 100644 --- a/src/Fl_Chart.cxx +++ b/src/Fl_Chart.cxx @@ -1,5 +1,5 @@ // -// "$Id: Fl_Chart.cxx,v 1.5.2.6.2.9 2002/08/09 01:09:48 easysw Exp $" +// "$Id: Fl_Chart.cxx,v 1.5.2.6.2.10 2002/09/04 20:33:18 easysw Exp $" // // Forms-compatible chart widget for the Fast Light Tool Kit (FLTK). // @@ -298,6 +298,10 @@ Fl_Widget(X,Y,W,H,l) { entries = (FL_CHART_ENTRY *)calloc(sizeof(FL_CHART_ENTRY), FL_CHART_MAX + 1); } +Fl_Chart::~Fl_Chart() { + free(entries); +} + void Fl_Chart::clear() { numb = 0; redraw(); @@ -380,5 +384,5 @@ void Fl_Chart::maxsize(int m) { } // -// End of "$Id: Fl_Chart.cxx,v 1.5.2.6.2.9 2002/08/09 01:09:48 easysw Exp $". +// End of "$Id: Fl_Chart.cxx,v 1.5.2.6.2.10 2002/09/04 20:33:18 easysw Exp $". // |
