fix memory management bug

This commit is contained in:
Axel Kohlmeyer
2022-09-03 10:38:31 -04:00
parent b60f144705
commit fc67df3b5f

View File

@ -345,9 +345,9 @@ Atom::~Atom()
for (int i = 0; i < nmolecule; i++) delete molecules[i];
memory->sfree(molecules);
// delete label maps
// delete label map
memory->sfree(lmap);
delete lmap;
// delete per-type arrays