Skip to content

Quick-fix memory leak in Track class

Paul Jean Schutze requested to merge pschutze/corryvreckan:trackleak into master

When a track is cloned (call of Track(const Track& track)), new clusters are created, but never deleted. Hence in this fix the destructor deletes these objects, if this particular constructor was called.

Merge request reports