Free platent and elements

This commit is contained in:
Simon Robertshaw
2012-06-18 15:25:24 +01:00
parent 1a13c3edec
commit 741392f2c1

View File

@@ -4228,6 +4228,8 @@ void Simulation::update_particles()//doesn't update the particles themselves, bu
Simulation::~Simulation() Simulation::~Simulation()
{ {
delete[] elements;
delete[] platent;
delete grav; delete grav;
delete air; delete air;
} }