Skip to content

Commit

Permalink
adding delete statement to the PileupJetIdProducer
Browse files Browse the repository at this point in the history
  • Loading branch information
jbrands committed Oct 23, 2015
1 parent 699ddc3 commit c6125cc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions RecoJets/JetProducers/plugins/PileupJetIdProducer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,10 @@ PileupJetIdProducer::PileupJetIdProducer(const edm::ParameterSet& iConfig)
// ------------------------------------------------------------------------------------------
PileupJetIdProducer::~PileupJetIdProducer()
{
for(std::vector<std::pair<std::string,PileupJetIdAlgo *> >::iterator
ialgo = algos_.begin(); ialgo!=algos_.end(); ++ialgo) {
delete ialgo->second;
}
}


Expand Down

0 comments on commit c6125cc

Please sign in to comment.