]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PHOS/AliPHOSRecPoint.cxx
The Init method of AliITSreconstruction has to be called by the user. This was done...
[u/mrichter/AliRoot.git] / PHOS / AliPHOSRecPoint.cxx
index bd47a359b2d782802cf9f1acfc732e4021aa6690..1d9a380c286ad5fb1053abf44ca49da83263c62b 100644 (file)
@@ -226,7 +226,7 @@ void  AliPHOSRecPoint::EvalPrimaries(TClonesArray * digits)
        fMulTrack++ ;
       } // store it
     } // all primaries in digit
-    delete newprimaryarray ; 
+    delete [] newprimaryarray ; 
   } // all digits
 
   
@@ -234,7 +234,7 @@ void  AliPHOSRecPoint::EvalPrimaries(TClonesArray * digits)
   for(index = 0; index < fMulTrack; index++)
    fTracksList[index] = tempo[index] ;
  
-  delete tempo ;
+  delete [] tempo ;
 
 }
 //____________________________________________________________________________