fixed a memleak in cron_chanstats.c