Free platent and elements
This commit is contained in:
parent
1a13c3edec
commit
741392f2c1
@ -4228,6 +4228,8 @@ void Simulation::update_particles()//doesn't update the particles themselves, bu
|
||||
|
||||
Simulation::~Simulation()
|
||||
{
|
||||
delete[] elements;
|
||||
delete[] platent;
|
||||
delete grav;
|
||||
delete air;
|
||||
}
|
||||
|
Reference in New Issue
Block a user