Skip to content

fix memory leak in L1 TGC simulation

Masato Aoki requested to merge masato/athena:22.0-masato_l1tgc_memleak into 22.0

As discussed in ATR-25529 and ATR-25989, the TrigT1TGC package has a memory leak. The cause was quite clear in the codes; simply the new-ed objects were left undeleted. I know it would be better to use the smart pointer, but given the urgency of the matter and the complexity of the codes, for now, I modify the codes just to delete the objects properly. We plan to update the codes using the smart pointer instead of the legacy new/delete function at the next opportunity.

Merge request reports