]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Displaced the deletion of fTreeQA from AliPHOSv1 to AliPHOS dtor
authorschutz <schutz@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 28 May 2002 15:51:20 +0000 (15:51 +0000)
committerschutz <schutz@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 28 May 2002 15:51:20 +0000 (15:51 +0000)
PHOS/AliPHOS.cxx
PHOS/AliPHOSv1.cxx

index 24e6cee706b9c98094225f7ab65d97e58b653808..384fe9eb800f98e476b4998d559e104c50e62a92 100644 (file)
@@ -65,7 +65,8 @@ AliPHOS::AliPHOS(const char* name, const char* title): AliDetector(name, title)
 AliPHOS::~AliPHOS() 
 {  
   // remove the alice folder and alice QA task that PHOS creates instead of AliRun
-  
+
+  delete fTreeQA ; 
 }
 
 //____________________________________________________________________________
index 6155bacd7490d72f4353fc9c58aba01a452d9883..47c0ebebc26de2f99e52946bc56378a91d340af4 100644 (file)
@@ -170,8 +170,6 @@ AliPHOSv1::~AliPHOSv1()
     fHits = 0 ; 
   }
   
-  delete fTreeQA ; 
-
   if ( fQAHitsMulB ) {
     fQAHitsMulB->Delete() ;
     delete fQAHitsMulB ;