From ff59546305676d9c64699c2f5dfdf2ac9dfbbd97 Mon Sep 17 00:00:00 2001 From: mkrzewic Date: Fri, 9 Jan 2015 10:50:35 +0100 Subject: [PATCH] fix the double free in TPC (online) calibration when running in the HLT simulation, AliReconstruction cleans the OCDB cache which leads to a crash on AliReconstruction::Terminate(). fix is to not delete the object contained in the AliCDBEntry (which is owner) and let AliReconstruction clean up at the end. --- TPC/TPCbase/AliTPCLaserTrack.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/TPC/TPCbase/AliTPCLaserTrack.cxx b/TPC/TPCbase/AliTPCLaserTrack.cxx index 4ce603349c1..fd89e586512 100644 --- a/TPC/TPCbase/AliTPCLaserTrack.cxx +++ b/TPC/TPCbase/AliTPCLaserTrack.cxx @@ -213,7 +213,8 @@ void AliTPCLaserTrack::LoadTracks() fgArrLaserTracks->AddAt(new AliTPCLaserTrack(*ltr),itrack); } - delete arrLaserTracks; + //do not delete - the entry is cached in the OCDB manager and is cleaned up there + //delete arrLaserTracks; } -- 2.43.0