]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ITS/AliITSClusterFinderSPD.cxx
Variable name fixed.
[u/mrichter/AliRoot.git] / ITS / AliITSClusterFinderSPD.cxx
index f45c2356a807df99ba0ebc6b38080ed196d10a46..722ac5ed477562a9d36912dc05c5f611fdde9004 100644 (file)
@@ -222,8 +222,7 @@ void  AliITSClusterFinderSPD::GroupClusters()
   AliITSRawClusterSPD *clusterI;
   AliITSRawClusterSPD *clusterJ;
   
-  //Int_t *label=new Int_t[nofClusters];  // activate this for DEC machines
-  Int_t label[nofClusters];   
+  Int_t *label = new Int_t [nofClusters];  // activate this for DEC machines
   Int_t i,j;
   for(i=0; i<nofClusters; i++) label[i] = 0;
   for(i=0; i<nofClusters; i++) {
@@ -257,6 +256,9 @@ void  AliITSClusterFinderSPD::GroupClusters()
   //Int_t totalNofClusters = fClusters->GetEntriesFast();
   //cout << " Nomber of clusters at the group end ="<< totalNofClusters<<endl;
   
+  delete [] label;
+  delete label;
+  
   return;