forked from lijiext/lammps
fix small memory leak in USER-INTEL binning style
This commit is contained in:
parent
66a473455e
commit
7470a120bb
|
@ -56,6 +56,8 @@ NBinIntel::~NBinIntel() {
|
|||
nocopy(binhead,bins,_atombin,_binpacked:alloc_if(0) free_if(1))
|
||||
}
|
||||
#endif
|
||||
memory->destroy(_atombin);
|
||||
memory->destroy(_binpacked);
|
||||
}
|
||||
|
||||
/* ----------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue