diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2012-06-18 14:25:24 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-06-18 14:25:24 (GMT) |
| commit | 741392f2c1c2de8134e4b76a288d1e8b711526cd (patch) | |
| tree | b48e60589577e0332e522b4dea57e3c4bbf2a3d5 /src/simulation/Simulation.cpp | |
| parent | 1a13c3edec3b2683e0204e4e65acab62b0130b0a (diff) | |
| download | powder-741392f2c1c2de8134e4b76a288d1e8b711526cd.zip powder-741392f2c1c2de8134e4b76a288d1e8b711526cd.tar.gz | |
Free platent and elements
Diffstat (limited to 'src/simulation/Simulation.cpp')
| -rw-r--r-- | src/simulation/Simulation.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/simulation/Simulation.cpp b/src/simulation/Simulation.cpp index f92affb..1b9a859 100644 --- a/src/simulation/Simulation.cpp +++ b/src/simulation/Simulation.cpp @@ -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; } |
