Weizhi Xiong observed a memory leak when processing files with EicC energy combinations.
This is present, but not apparent, in EIC combinations too (likely due to #events cut at certain stages). Relatively simple fix, re-ordering of some null/delete statements and some additional delete statements.
Weizhi Xiong observed a memory leak when processing files with EicC energy combinations.
This is present, but not apparent, in EIC combinations too (likely due to #events cut at certain stages). Relatively simple fix, re-ordering of some null/delete statements and some additional delete statements.
Thanks to Weizhi for this patch.