summaryrefslogtreecommitdiff
path: root/library/statistics.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'library/statistics.cpp')
-rw-r--r--library/statistics.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/library/statistics.cpp b/library/statistics.cpp
index fb7f5ba4..53a75fce 100644
--- a/library/statistics.cpp
+++ b/library/statistics.cpp
@@ -113,6 +113,10 @@ Statistics::Statistics(const int totalObjectCount,
remainingTimeLast(256*256*256*100), //something "big"
timer(new wxStopWatch) {}
+ Statistics::~Statistics()
+ {
+ delete timer;
+ }
void Statistics::addMeasurement(const int objectsCurrent, const double dataCurrent)
{
bgstack15