]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONRawClusterV2.cxx
Added cast to Color_t - needed by GCC 4.3
[u/mrichter/AliRoot.git] / MUON / AliMUONRawClusterV2.cxx
index f0f62b8737405f4d49b818a53c78348af5e62ebb..ec54b21d04a432ad773c6b17c336a72e20c16d7a 100644 (file)
@@ -158,7 +158,7 @@ void AliMUONRawClusterV2::AddDigitId(UInt_t id)
   UInt_t *digitsIdNew = new UInt_t[fNDigits+1];
   memcpy(digitsIdNew,fDigitsId, fNDigits*sizeof(UInt_t));
   digitsIdNew[fNDigits++] = id;
-  delete fDigitsId;
+  delete[] fDigitsId;
   fDigitsId = digitsIdNew;
 }