From 741392f2c1c2de8134e4b76a288d1e8b711526cd Mon Sep 17 00:00:00 2001 From: Simon Robertshaw Date: Mon, 18 Jun 2012 15:25:24 +0100 Subject: Free platent and elements 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; } -- cgit v0.9.2-21-gd62e