From 39bd04c5f267cbff173252528c8178166b17700d Mon Sep 17 00:00:00 2001 From: hristov Date: Fri, 3 Aug 2007 13:38:40 +0000 Subject: [PATCH] Unload raw clusters and delete AliITSDetTypeRec object to avoid memory leaks (Marco) --- ITS/AliITSReconstructor.cxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ITS/AliITSReconstructor.cxx b/ITS/AliITSReconstructor.cxx index 5b2141b2d46..b16f7e354fa 100644 --- a/ITS/AliITSReconstructor.cxx +++ b/ITS/AliITSReconstructor.cxx @@ -135,7 +135,9 @@ void AliITSReconstructor::Reconstruct(AliRunLoader* runLoader) const loader->UnloadRecPoints(); loader->UnloadDigits(); + loader->UnloadRawClusters(); runLoader->UnloadKinematics(); + delete rec; } //_________________________________________________________________ @@ -166,6 +168,8 @@ void AliITSReconstructor::Reconstruct(AliRunLoader* runLoader, } loader->UnloadRecPoints(); + loader->UnloadRawClusters(); + delete rec; } //_____________________________________________________________________________ -- 2.43.5