bug fixed
authorbasanta <basanta@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 13 Oct 2010 05:34:36 +0000 (05:34 +0000)
committerbasanta <basanta@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 13 Oct 2010 05:34:36 +0000 (05:34 +0000)
PMD/AliPMDClusteringV1.cxx
PMD/AliPMDDDLRawData.cxx

index dc582c2..d9a4f9a 100644 (file)
@@ -984,7 +984,7 @@ void AliPMDClusteringV1::RefClust(Int_t incr, Double_t edepcell[])
                }
              delete [] cellCount;
              for(Int_t jj = 0; jj < ncl[i]+1; jj++) delete [] cellXY[jj];
-             delete cellXY;
+             delete [] cellXY;
 
              delete [] status;
              delete [] totaladc;
index 5769d7d..18efcb2 100644 (file)
@@ -111,7 +111,7 @@ void AliPMDDDLRawData::WritePMDRawData(TTree *treeD)
 
   Int_t contentsBus[kbusSize];
 
-  Char_t filename[60];
+  Char_t filename[80];
 
   Int_t modulePerDDL        = 0;
   Int_t mmodule = 0;
@@ -128,7 +128,7 @@ void AliPMDDDLRawData::WritePMDRawData(TTree *treeD)
          modulenoddl[im] = fDdlinfo->GetModulesPerDdl(iddl,im);;
        }
 
-      strncpy(filename,AliDAQ::DdlFileName("PMD",iddl),60);
+      strncpy(filename,AliDAQ::DdlFileName("PMD",iddl),79);
       
       outfile = new AliFstream(filename);