]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
In Distructor, delete fResponse. Since AliITSDetType is supposed to own it
authornilsen <nilsen@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 5 May 2002 21:10:10 +0000 (21:10 +0000)
committernilsen <nilsen@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 5 May 2002 21:10:10 +0000 (21:10 +0000)
it should delete it.

ITS/AliITSDetType.cxx

index b9413f254d1b4f723df6570ef2583123545177dc..a5c5444c0d3bd96da03e30799cc8952c0d783479 100644 (file)
@@ -15,6 +15,9 @@
 
 /*
  $Log$
+ Revision 1.8  2001/10/04 22:40:15  nilsen
+ Cosmetic changes.
+
  Revision 1.7  2001/09/07 14:43:15  hristov
  Destructor reverted after a temporary fix
 
@@ -52,7 +55,7 @@ AliITSDetType::~AliITSDetType(){
     // destructor
 
     if(fSegmentation!=0) delete fSegmentation; fSegmentation = 0;
-    //    if(fResponse!=0)     delete fResponse;     fResponse     = 0;
+    if(fResponse!=0)     delete fResponse;     fResponse     = 0;
     if(fSimulation!=0)   delete fSimulation;   fSimulation   = 0;
     if(fReconst!=0)      delete fReconst;      fReconst      = 0;
 }