Coverity 10113
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 12 May 2011 07:34:33 +0000 (07:34 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 12 May 2011 07:34:33 +0000 (07:34 +0000)
TOF/AliTOFRawStream.cxx

index 3d6f36c..6b0ede6 100644 (file)
@@ -1445,10 +1445,6 @@ Bool_t AliTOFRawStream::Decode(Int_t verbose = 0) {
   //loop and read DDL headers 
   while(fRawReader->ReadHeader()){
 
-    //memory leak prevention (actually data should be always 0x0 here)
-    if (data != 0x0)
-      delete [] data;
-
     //get equipment infos
     currentEquipment = fRawReader->GetEquipmentId();