diff options
author | Mattes D <github@xoft.cz> | 2014-06-19 11:03:40 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-06-19 11:03:40 +0200 |
commit | 4c7545a82ad8f086c66de7a7cfb26ba1800780fa (patch) | |
tree | d6a37e6433f973765c8ca63e408dbbd420b08d70 /src/Generating/CompoGen.cpp | |
parent | Merge pull request #1096 from mc-server/redstonerefactor (diff) | |
parent | Nullify deleted pointers. (diff) | |
download | cuberite-4c7545a82ad8f086c66de7a7cfb26ba1800780fa.tar cuberite-4c7545a82ad8f086c66de7a7cfb26ba1800780fa.tar.gz cuberite-4c7545a82ad8f086c66de7a7cfb26ba1800780fa.tar.bz2 cuberite-4c7545a82ad8f086c66de7a7cfb26ba1800780fa.tar.lz cuberite-4c7545a82ad8f086c66de7a7cfb26ba1800780fa.tar.xz cuberite-4c7545a82ad8f086c66de7a7cfb26ba1800780fa.tar.zst cuberite-4c7545a82ad8f086c66de7a7cfb26ba1800780fa.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Generating/CompoGen.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Generating/CompoGen.cpp b/src/Generating/CompoGen.cpp index 688d19c40..2da285d72 100644 --- a/src/Generating/CompoGen.cpp +++ b/src/Generating/CompoGen.cpp @@ -672,7 +672,9 @@ cCompoGenCache::cCompoGenCache(cTerrainCompositionGen & a_Underlying, int a_Cach cCompoGenCache::~cCompoGenCache() { delete[] m_CacheData; + m_CacheData = NULL; delete[] m_CacheOrder; + m_CacheOrder = NULL; } |