This fixes a few memory leaks in jet reconstruction:
TDirectoryFile::Get(...)
but never deletedIConstituentExtractor
in ExtractorRange::bump(...)
where clone()
was being called once in the function and again in the implicit copy-constructor used in the return statement.I've also cleaned up the destructor for JMSCorrection
for simplicity while I was checking these.