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() FixWallGranRegion::~FixWallGranRegion()
{ {
delete[] c2r; delete[] c2r;
delete[] region_style;
memory->destroy(ncontact); memory->destroy(ncontact);
memory->destroy(walls); memory->destroy(walls);

View File

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