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 64d7b7ba6592304ab5e64fd2d9ecad0c68688eca..947666394bdb6d77468ed9ea23354f85a4a603f2 100644 (file)
@@ -192,7 +192,6 @@ void AliEveTOFDigitsInfo::ReadRaw(AliRawReader* rawReader, Bool_t newDecoder)
 
   //ftxt.close();
 
-  cableLength = 0x0;
   delete cableLength;
 
 }
index b64b59bc9caa0bce62621cce0d3d6cb967e0914c..becbb91b8bad1aadd7b952a3abc244ff30e2076d 100644 (file)
@@ -32,5 +32,8 @@ void tof_raw(Bool_t newDecoder = kFALSE)
 
   }
 
+  delete di;
+  delete g;
+
   gEve->EnableRedraw();
 }