mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 16:18:42 +00:00
Free references in WkoFileReader
This commit is contained in:
committed by
Sean Rhea
parent
3773ec573e
commit
014c6301f6
@@ -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<references.count(); i++) delete references.at(i);
|
||||
references.clear();
|
||||
|
||||
if (footerdata) return (RideFile *)rideFile;
|
||||
|
||||
Reference in New Issue
Block a user