fix uninitialized pointer bug

This commit is contained in:
Axel Kohlmeyer
2022-04-23 15:17:26 -04:00
parent b4c3c479b7
commit f7e7abc908
2 changed files with 0 additions and 2 deletions

View File

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

View File

@ -46,7 +46,6 @@ class FixWallGranRegion : public FixWallGran {
private:
class Region *region;
char *region_style;
int nregion;
// shear history for multiple contacts per particle