cleanup
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user