]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliAlignObj.cxx
Protection against memory leaks
[u/mrichter/AliRoot.git] / STEER / AliAlignObj.cxx
index c27e61d4fa30089041adeb45118f5dc1e3908943..ed562b233a8b1b04b3fb3bfbccbb09351e4a661f 100644 (file)
@@ -439,6 +439,8 @@ void  AliAlignObj::InitAlignObjFromGeometry()
   // Loop over all alignable volumes and extract
   // the corresponding alignment objects from
   // the TGeo geometry
+
+  if(fgAlignObjs[0]) return;
   
   InitVolPaths();