Fixed memory leaks.

This commit is contained in:
David Williams
2011-09-08 21:29:23 +01:00
parent 0c97756a0c
commit df035d5237
4 changed files with 9 additions and 1 deletions

View File

@ -71,7 +71,7 @@ namespace PolyVox
SimpleVolume<VoxelType>::~SimpleVolume()
{
delete[] m_pBlocks;
m_pBlocks = 0;
delete[] m_pUncompressedBorderData;
}
////////////////////////////////////////////////////////////////////////////////