Update HeightfieldExample.cpp

This commit is contained in:
erwincoumans
2019-07-19 14:02:08 -07:00
committed by GitHub
parent 2502a83bd7
commit 1e6af4261e

View File

@@ -1036,7 +1036,7 @@ void HeightfieldExample::clearWorld(void)
m_collisionShapes.clear(); m_collisionShapes.clear();
// delete raw heightfield data // delete raw heightfield data
delete m_rawHeightfieldData; delete[] m_rawHeightfieldData;
m_rawHeightfieldData = NULL; m_rawHeightfieldData = NULL;
} }
} }