TrigT2CaloCommon: Fix the memory leak in TrigCaloDataAccessSvc

Alaettin Serhan Mete requested to merge amete/athena:22.0-ATR-25991 into 22.0

Not the most elegant way but this should do the trick.

Closes ATR-25991

cc: @damazio

Merge request reports