Free tools

This commit is contained in:
Simon Robertshaw 2012-06-18 15:32:15 +01:00
parent 9d7a4e55f2
commit edac8b5481

View File

@ -4232,6 +4232,8 @@ Simulation::~Simulation()
delete[] platent; delete[] platent;
delete grav; delete grav;
delete air; delete air;
for(int i = 0; i < tools.size(); i++)
delete tools[i];
} }
Simulation::Simulation(): Simulation::Simulation():