Fix theoretical memory leaks in edit_parse_actions_file()