diff --git a/InnerDetector/InDetDetDescr/InDetTrackingGeometry/src/SiLayerBuilder.cxx b/InnerDetector/InDetDetDescr/InDetTrackingGeometry/src/SiLayerBuilder.cxx index 520f05d0f6bf33098d8c9939868e6c5d0ec92f06..ef70dd63c6f859d3f155ecffb152856ae7ea6571 100755 --- a/InnerDetector/InDetDetDescr/InDetTrackingGeometry/src/SiLayerBuilder.cxx +++ b/InnerDetector/InDetDetDescr/InDetTrackingGeometry/src/SiLayerBuilder.cxx @@ -995,6 +995,8 @@ std::vector< const Trk::DiscLayer* >* InDet::SiLayerBuilder::createDiscLayers(st new Trk::DiscBounds(rMin,rMax), *passiveLayerMaterial, 1.*Gaudi::Units::mm); + // cleanup of the layer material -------------------------------------------------------------- + delete passiveLayerMaterial; } else passiveLayer = new Trk::DiscLayer(passiveDiscTransf, new Trk::DiscBounds(rMin,rMax), 0); ATH_MSG_DEBUG( " -> At Z - Position : " << *addLayerIter );