Skip to content

Commit 730e2fb

Browse files
committed
- small bugfix
1 parent ae0f41e commit 730e2fb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Demos/Simulation/SimulationModel.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ void SimulationModel::cleanup()
3737
for (unsigned int i = 0; i < m_triangleModels.size(); i++)
3838
delete m_triangleModels[i];
3939
m_triangleModels.clear();
40+
for (unsigned int i = 0; i < m_tetModels.size(); i++)
41+
delete m_tetModels[i];
42+
m_tetModels.clear();
4043
for (unsigned int i = 0; i < m_constraints.size(); i++)
4144
delete m_constraints[i];
4245
m_constraints.clear();

0 commit comments

Comments
 (0)