Memory leak fixed (F.Noferini)
authordecaro <decaro@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 17 Dec 2010 12:47:11 +0000 (12:47 +0000)
committerdecaro <decaro@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 17 Dec 2010 12:47:11 +0000 (12:47 +0000)
TOF/AliTOFTrigger.cxx

index 069ef86..59e1f9e 100644 (file)
@@ -600,6 +600,8 @@ void AliTOFTrigger::CreateLTMMatrixFromRaw(AliRawReader *fRawReader) {
     //if (fVerbose==2) ftxt.close();
 
     if (inholes) AliWarning(Form("Clusters in the TOF holes: %d",inholes));
+    delete tofRawStream;
+    tofRawStream = NULL;
 
   }