diff --git a/src/set.cpp b/src/set.cpp index ab9b879849..5f06f18a42 100644 --- a/src/set.cpp +++ b/src/set.cpp @@ -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; }