Fix mismatching de-allocation, thanks to ravi.rathnam
Fixes Issue 591
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user