In AliMpPad:
authorivana <ivana@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 25 Nov 2011 09:55:04 +0000 (09:55 +0000)
committerivana <ivana@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 25 Nov 2011 09:55:04 +0000 (09:55 +0000)
Adding deleting fLLocations array in assignment operator
(fix Coverity defect MISSING_ASSIGN)

MUON/mapping/AliMpPad.cxx

index 82fc727..24c87ca 100755 (executable)
@@ -150,6 +150,7 @@ AliMpPad& AliMpPad::operator = (const AliMpPad& rhs)
   fDimensionY  = rhs.fDimensionY;
   fValidity = rhs.fValidity;
   
+  delete [] fLLocations;
   fLLocations = 0;
   fNofLocations = rhs.fNofLocations;
   if ( rhs.GetNofLocations() ) {