diff --git a/src/WkoRideFile.cpp b/src/WkoRideFile.cpp index 29e859af4..9d7a3228f 100644 --- a/src/WkoRideFile.cpp +++ b/src/WkoRideFile.cpp @@ -141,6 +141,9 @@ RideFile *WkoFileReader::openRideFile(QFile &file, QStringList &errors) const rideFile->addInterval(add.start, add.stop, add.name); } + + // free up memory + for (int i=0; i