From 0092229132448e83b08458a2a0c1e15283065372 Mon Sep 17 00:00:00 2001 From: Simon Robertshaw Date: Sun, 19 Aug 2012 00:49:24 +0100 Subject: [PATCH] Don't delete Simulation::Elements now that it's not runtime allocated --- src/simulation/Simulation.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/simulation/Simulation.cpp b/src/simulation/Simulation.cpp index db0103c2e..d31e2e724 100644 --- a/src/simulation/Simulation.cpp +++ b/src/simulation/Simulation.cpp @@ -4528,7 +4528,6 @@ void Simulation::update_particles()//doesn't update the particles themselves, bu Simulation::~Simulation() { - delete[] elements; delete[] platent; delete grav; delete air;