Prevent segfault from wild pointer

This commit is contained in:
Stan Moore
2022-10-07 15:50:31 -07:00
parent f70ac64c5d
commit 4ce966e500

View File

@ -134,6 +134,7 @@ FixReaxFFSpecies::FixReaxFFSpecies(LAMMPS *lmp, int narg, char **arg) : Fix(lmp,
nd = nullptr;
molmap = nullptr;
mark = nullptr;
fdel = nullptr;
nmax = 0;
setupflag = 0;