Skip to content
Snippets Groups Projects
Commit d211d7d0 authored by Susumu Oda's avatar Susumu Oda
Browse files

Fix a memory leak in InDet::BeamPipeBuilder::cylindricalLayers()

parent 21a2e761
Branches arm_tests_81b
No related tags found
No related merge requests found
......@@ -177,7 +177,7 @@ const std::vector< const Trk::CylinderLayer* >* InDet::BeamPipeBuilder::cylindri
beamPipeBounds,
*beamPipeLayerMaterial,
m_beamPipeThickness));
//delete beamPipeLayerMaterial;
delete beamPipeLayerMaterial;
return beamPipe;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment