memory leak fixed
authoralla <alla@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 8 Aug 2011 07:43:57 +0000 (07:43 +0000)
committeralla <alla@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 8 Aug 2011 07:43:57 +0000 (07:43 +0000)
T0/AliT0QADataMakerRec.cxx

index be6e31d..1209a54 100644 (file)
@@ -597,6 +597,7 @@ void AliT0QADataMakerRec::MakeRaws( AliRawReader* rawReader)
        hik->Fit("fit","RQ","Q",  meanEstimate-40,  meanEstimate+40);
        fMeans[ik]= (Int_t) fit->GetParameter(1);
        hik->GetXaxis()->SetRangeUser(0, 30000);
+       fit->Delete();
       }
     }
     //