Skip to content
Snippets Groups Projects
Commit 3ca2e99c authored by Walter Lampl's avatar Walter Lampl
Browse files

Merge branch 'leak.MuonCombinedTrackFindingTools-20201222' into 'master'

MuonCombinedTrackFindingTools: Fix memory leak.

See merge request atlas/athena!39383
parents 1cce69dc 6ece7a89
No related branches found
No related tags found
No related merge requests found
......@@ -788,7 +788,8 @@ namespace MuonCombined {
if( tracks.size() == 1 ) return true;
// more than 1 track call ambiguity solver and select first track
TrackCollection* resolvedTracks=m_trackAmbibuityResolver->process(&tracks);
std::unique_ptr<TrackCollection> resolvedTracks
(m_trackAmbibuityResolver->process(&tracks));
Trk::Track* selectedTrack = resolvedTracks->front();
// get candidate
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment