plug memory leak

This commit is contained in:
Axel Kohlmeyer 2016-10-14 07:27:14 -04:00
parent d11363c7eb
commit 411ecca8df
1 changed files with 2 additions and 0 deletions

View File

@ -85,6 +85,8 @@ FixWallGranRegion::FixWallGranRegion(LAMMPS *lmp, int narg, char **arg) :
FixWallGranRegion::~FixWallGranRegion()
{
delete [] c2r;
delete [] region_style;
memory->destroy(ncontact);
memory->destroy(walls);
memory->destroy(shearmany);