Memory leaks in TOF visualization code
authorcvetan <cvetan@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 13 Sep 2009 20:55:20 +0000 (20:55 +0000)
committercvetan <cvetan@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 13 Sep 2009 20:55:20 +0000 (20:55 +0000)
EVE/EveDet/AliEveTOFDigitsInfo.cxx
EVE/alice-macros/tof_raw.C

index 64d7b7b..9476663 100644 (file)
@@ -192,7 +192,6 @@ void AliEveTOFDigitsInfo::ReadRaw(AliRawReader* rawReader, Bool_t newDecoder)
 
   //ftxt.close();
 
-  cableLength = 0x0;
   delete cableLength;
 
 }
index b64b59b..becbb91 100644 (file)
@@ -32,5 +32,8 @@ void tof_raw(Bool_t newDecoder = kFALSE)
 
   }
 
+  delete di;
+  delete g;
+
   gEve->EnableRedraw();
 }