diff options
author | worktycho <work.tycho@gmail.com> | 2014-08-31 21:28:41 +0200 |
---|---|---|
committer | worktycho <work.tycho@gmail.com> | 2014-08-31 21:28:41 +0200 |
commit | 3e7332c70ceb372afcd2abf431c6b4c222fe9359 (patch) | |
tree | 1049374898447556889860652f3e32bf8ccc2630 | |
parent | Init RankMgr pointer to NULL (diff) | |
download | cuberite-3e7332c70ceb372afcd2abf431c6b4c222fe9359.tar cuberite-3e7332c70ceb372afcd2abf431c6b4c222fe9359.tar.gz cuberite-3e7332c70ceb372afcd2abf431c6b4c222fe9359.tar.bz2 cuberite-3e7332c70ceb372afcd2abf431c6b4c222fe9359.tar.lz cuberite-3e7332c70ceb372afcd2abf431c6b4c222fe9359.tar.xz cuberite-3e7332c70ceb372afcd2abf431c6b4c222fe9359.tar.zst cuberite-3e7332c70ceb372afcd2abf431c6b4c222fe9359.zip |
Diffstat (limited to '')
-rw-r--r-- | src/SetChunkData.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SetChunkData.cpp b/src/SetChunkData.cpp index 97903074a..bfe59fbcb 100644 --- a/src/SetChunkData.cpp +++ b/src/SetChunkData.cpp @@ -134,8 +134,8 @@ void cSetChunkData::RemoveInvalidBlockEntities(void) ); cBlockEntityList::iterator itr2 = itr; itr2++; - m_BlockEntities.erase(itr); delete *itr; + m_BlockEntities.erase(itr); itr = itr2; } else |