fixed a bug in cheetah_ana_pkg so that allocated memory for events with damaged data is free'd properly, this helped runs with lots of damaged events to finish successfully