Bug fix in destructor (Rene Brun)
authormarian <marian@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sat, 12 Apr 2008 09:41:28 +0000 (09:41 +0000)
committermarian <marian@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sat, 12 Apr 2008 09:41:28 +0000 (09:41 +0000)
TPC/AliTPCseed.cxx

index 59e0251..b306346 100644 (file)
@@ -233,9 +233,9 @@ AliTPCseed::AliTPCseed(Double_t xr, Double_t alpha, const Double_t xx[5],
 AliTPCseed::~AliTPCseed(){
   //
   // destructor
-  if (fPoints) delete fPoints;
+  if (fPoints) delete [] fPoints;
   fPoints =0;
-  if (fEPoints) delete fEPoints;
+  if (fEPoints) delete [] fEPoints;
   fEPoints = 0;
   fNoCluster =0;
   if (fClusterOwner){