import tersoff/zbl bugfix from LAMMPS-ICMS

This commit is contained in:
Axel Kohlmeyer
2011-12-11 20:43:58 -05:00
parent 3b72d88e35
commit c252853d30
2 changed files with 2 additions and 2 deletions

View File

@ -66,7 +66,7 @@ void PairTersoffZBL::read_file(char *file)
int params_per_line = 21;
char **words = new char*[params_per_line+1];
delete [] params;
memory->sfree(params);
params = NULL;
nparams = 0;

View File

@ -84,7 +84,7 @@ void PairTersoffZBLOMP::read_file(char *file)
int params_per_line = 21;
char **words = new char*[params_per_line+1];
delete [] params;
memory->sfree(params)
params = NULL;
nparams = 0;