]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Bug fix in the destructor
authormasera <masera@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 26 Mar 2008 17:14:09 +0000 (17:14 +0000)
committermasera <masera@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 26 Mar 2008 17:14:09 +0000 (17:14 +0000)
ITS/AliITSOnlineSDDInjectors.cxx

index 5c082dceae1ef8e8d6085733e88c5a911a19cc07..e9401b81473c8471f44667d648988895f7ad1cb3 100644 (file)
@@ -61,7 +61,9 @@ AliITSOnlineSDDInjectors::AliITSOnlineSDDInjectors(Int_t nddl, Int_t ncarlos, In
 //______________________________________________________________________
 AliITSOnlineSDDInjectors::~AliITSOnlineSDDInjectors(){
   // Destructor
-  if(fHisto) delete fHisto;  
+  // fHisto should not be deleted here because it points to an histo created 
+  // by the external code which calls the method AnalyzeEvent
+  // if(fHisto) delete fHisto;  
   if(fParam) delete [] fParam;
 }
 //______________________________________________________________________