mirror of https://github.com/lammps/lammps.git
delete redundant memory deallocation
This commit is contained in:
parent
1ad782c050
commit
1885f7e42d
|
@ -33,12 +33,10 @@ using namespace LAMMPS_NS;
|
|||
|
||||
/* ---------------------------------------------------------------------- */
|
||||
|
||||
MLIAPDummyDescriptor::MLIAPDummyDescriptor(LAMMPS *lmp) : MLIAPDescriptor(lmp) {}
|
||||
MLIAPDummyDescriptor::MLIAPDummyDescriptor(LAMMPS *_lmp) : MLIAPDescriptor(_lmp) {}
|
||||
|
||||
MLIAPDummyDescriptor::~MLIAPDummyDescriptor()
|
||||
{
|
||||
memory->destroy(radelem);
|
||||
memory->destroy(cutsq);
|
||||
// manually decrement borrowed reference from Python
|
||||
Py_DECREF(unified_interface);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue