This commit is contained in:
Jacob Gissinger
2024-04-18 14:12:23 -04:00
parent eec037ac5e
commit 1815a00fd0

View File

@ -740,7 +740,7 @@ void Set::selection(int n)
else select[i] = 0;
} else if (style == TYPE_SELECT) {
if (char *typestr = utils::expand_type(FLERR, id, Atom::ATOM, lmp)) { // is this mem leak?
if (char *typestr = utils::expand_type(FLERR, id, Atom::ATOM, lmp)) {
delete[] id;
id = typestr;
}