mail_regen_list: Fix a memory leak