[mass_defect] fixed minor memory leak
Merge pull request #12 from gawrysz/FIX_magic_mass_memory_leak

[mass_defect] fixed minor memory leak