JetCorrectionsProducer: fix memory leaks
RootFileHelper: minor change