Technical fix for #58138: VZERO breaks in AliVZEROTrending::~AliVZEROTrending()
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 5 Nov 2009 15:38:08 +0000 (15:38 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 5 Nov 2009 15:38:08 +0000 (15:38 +0000)
VZERO/AliVZEROTrending.cxx

index 8ec559c079fabc6f7f97c1b6afd0d78870e8731e..fadd83ca67590f3c6a0503791c018b7fe6221786 100644 (file)
@@ -61,10 +61,7 @@ AliVZEROTrending::AliVZEROTrending(const AliVZEROTrending &trend) :
 \r
 //_____________________________________________________________________________\r
 AliVZEROTrending::~AliVZEROTrending(){\r
-  if (fGraphs) {\r
-    for (Int_t i=0; i<8; ++i) delete fGraphs[i];\r
-    delete [] fGraphs;\r
-  }\r
+  for (Int_t i=0; i<8; ++i) delete fGraphs[i];\r
   delete fMultiGraphs;\r
 }\r
 // -----------------------------------------------------------------                   \r