Deleting array of detectors' strings
authorrgrosso <rgrosso@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 27 Mar 2008 13:53:45 +0000 (13:53 +0000)
committerrgrosso <rgrosso@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 27 Mar 2008 13:53:45 +0000 (13:53 +0000)
STEER/AliGeomManager.cxx

index c044ad7..ab675bc 100644 (file)
@@ -1336,6 +1336,8 @@ Bool_t AliGeomManager::ApplyAlignObjsFromCDB(const char* AlignDetsList)
       alObjsLoaded += " ";
     }
   }
+  detsarr->Delete();
+  delete detsarr;
 
   if(!alObjsLoaded.IsNull()) AliInfoClass(Form("Alignment objects loaded for: %s",
                                               alObjsLoaded.Data()));