Coverity fix
authorbelikov <Iouri.Belikov@cern.ch>
Tue, 25 Feb 2014 08:44:36 +0000 (09:44 +0100)
committerbelikov <Iouri.Belikov@cern.ch>
Tue, 25 Feb 2014 08:44:36 +0000 (09:44 +0100)
ITS/UPGRADE/AliITSUGeomTGeo.cxx

index 1acd64c..99accae 100644 (file)
@@ -102,6 +102,7 @@ AliITSUGeomTGeo::AliITSUGeomTGeo(const AliITSUGeomTGeo &src)
   // copy c-tor
   if (fNLayers) {
     fNStaves   = new Int_t[fNLayers];
+    fNSubStaves= new Int_t[fNLayers];
     fNChipsPerModule = new Int_t[fNLayers];
     fLrChipType  = new Int_t[fNLayers];
     fLastChipIndex   = new Int_t[fNLayers];