[mass_defect] fixed minor memory leak