Commit 5c927d48 authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

add missing atom->delete_callback()

parent a9f8b17c
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -205,6 +205,8 @@ FixHyperLocal::~FixHyperLocal()
  memory->destroy(bonds);
  memory->destroy(numbond);

  atom->delete_callback(id,0);

  memory->destroy(maxstrain);
  memory->destroy(maxstrain_region);
  memory->destroy(maxstrain_bondindex);
+3 −0
Original line number Diff line number Diff line
@@ -136,6 +136,9 @@ FixFFL::FixFFL(LAMMPS *lmp, int narg, char **arg) :
FixFFL::~FixFFL() {
  delete random;

  atom->delete_callback(id,0);
  atom->delete_callback(id,1);

  memory->destroy(sqrt_m);
  memory->destroy(ffl_tmp1);
  memory->destroy(ffl_tmp2);