Memory leak relating to TFiles?

Thank you, @RENATO_QUAGLIANI, but the TFiles are referenced in functions found under src/eventCorrelator.cc. The binary testMapPointing refers to these functions, but doesn’t have TFile input of its own.

When I tried deleting the references to the files, I also tried when initially opening them to use TH1::SetDirectory as suggested here, but that didn’t seem to work?