Quick-fix memory leak in Track class
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.
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.