Fixed a memory leakage in the reading of digits for the HLT cluster fitter
authorcvetan <cvetan@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 16 Dec 2003 14:16:03 +0000 (14:16 +0000)
committercvetan <cvetan@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 16 Dec 2003 14:16:03 +0000 (14:16 +0000)
MONITOR/AliMonitorProcess.cxx

index dcde4e6..1bc5f0c 100644 (file)
@@ -795,6 +795,7 @@ Bool_t AliMonitorProcess::ReconstructHLTHough(
       for(Int_t ipatch = 0; ipatch < AliL3Transform::GetNPatches(); ipatch++)
        {
          // Read digits
+         fHLTHough->GetMemHandler(ipatch)->Free();
          fHLTHough->GetMemHandler(ipatch)->Init(islice,ipatch);
          AliL3DigitRowData *digits = (AliL3DigitRowData *)fHLTHough->GetMemHandler(ipatch)->AliAltroDigits2Memory(ndigits,iEvent);