]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TRD/AliTRDSignalIndex.cxx
Remove obsolete class
[u/mrichter/AliRoot.git] / TRD / AliTRDSignalIndex.cxx
index 780361f033e302a94b2dfc2afd9223000d1870df..e8d9d45adf9bb2f7a3847398aee5ce223b8a63a0 100644 (file)
@@ -225,6 +225,8 @@ void AliTRDSignalIndex::Allocate(const Int_t nrow, const Int_t ncol, const Int_t
 //_____________________________________________________________________________
 void AliTRDSignalIndex::ResetArrays()
 {
+  if (!IsAllocated())
+    return;
   memset(fBoolIndex,0x00,sizeof(Bool_t)*fMaxLimit);
   memset(fSortedIndex,0xFF,sizeof(RowCol)*fCountRC); 
   fSortedWasInit = kFALSE;