git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@13058 f3b2605a-c512-4ea7-a41b-209d697bcdaa

This commit is contained in:
sjplimp
2015-02-04 22:14:27 +00:00
parent a2aa6c5be0
commit 0ed5c699cc
9 changed files with 32 additions and 9 deletions

View File

@ -43,7 +43,7 @@ PairCoulWolf::PairCoulWolf(LAMMPS *lmp) : Pair(lmp)
PairCoulWolf::~PairCoulWolf()
{
if (allocated) {
if (allocated && !copymode) {
memory->destroy(setflag);
memory->destroy(cutsq);
}