Fix mismatching de-allocation, thanks to ravi.rathnam

Fixes Issue 591
This commit is contained in:
erwin.coumans
2012-01-23 21:24:16 +00:00
parent ccf30e8ee9
commit ce50f11fea

View File

@@ -69,7 +69,7 @@ void btBulletWorldImporter::deleteAllData()
m_allocatedTriangleIndexArrays.clear();
for (i=0;i<m_allocatedNames.size();i++)
{
delete m_allocatedNames[i];
delete[] m_allocatedNames[i];
}
m_allocatedNames.clear();