Properly deleting data (delete vs. delete[]).
This commit is contained in:
@ -111,7 +111,7 @@ namespace PolyVox
|
||||
template <typename VoxelType>
|
||||
UncompressedBlock<VoxelType>::~UncompressedBlock()
|
||||
{
|
||||
delete m_tData;
|
||||
delete[] m_tData;
|
||||
m_tData = 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user