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

This commit is contained in:
sjplimp
2015-03-18 23:34:41 +00:00
parent 448f69a4d4
commit c3e7b8587a
17 changed files with 78 additions and 34 deletions

View File

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