From 32b9640e1ca9ce14f802309ad7818c23910dc62c Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Wed, 4 Sep 2002 20:33:18 +0000 Subject: Fixes from Matthew Morrise. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2618 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_Chart.cxx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/Fl_Chart.cxx') 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 $". // -- cgit v1.2.3