Fixed a memory leakage in the reading of digits for the HLT cluster fitter
[u/mrichter/AliRoot.git] / MONITOR / AliMonitorProcess.cxx
index dcde4e6807459dddfcb79261d8dfcd170cc13779..1bc5f0c24a38d016bbf5deb4824883e56cce79bc 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);