Unverified Commit fbc9cf83 authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

fix huge memory leak

parent c555f7e2
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -187,6 +187,16 @@ PairSMTBQ::~PairSMTBQ()
  memory->destroy(potqn);
  memory->destroy(dpotqn);

  memory->destroy(fafbOxOxSurf);
  memory->destroy(dfafbOxOxSurf);
  memory->destroy(fafbTiOxSurf);
  memory->destroy(dfafbTiOxSurf);

  memory->destroy(fafbOxOxBB);
  memory->destroy(dfafbOxOxBB);
  memory->destroy(fafbTiOxBB);
  memory->destroy(dfafbTiOxBB);

  memory->destroy(ecov);
  memory->destroy(sbcov);
  memory->destroy(coord);