summaryrefslogtreecommitdiffstats
path: root/src/BlockInfo.cpp
diff options
context:
space:
mode:
authorandrew <xdotftw@gmail.com>2014-03-02 21:55:14 +0100
committerandrew <xdotftw@gmail.com>2014-03-02 21:55:14 +0100
commit36fd78af35b49d64b97e93df6428ace787c88c4c (patch)
treec180208ae9759403cc29c4784103569793e6cc63 /src/BlockInfo.cpp
parentcBlockInfo now manages the respective cBlockHandler (diff)
downloadcuberite-36fd78af35b49d64b97e93df6428ace787c88c4c.tar
cuberite-36fd78af35b49d64b97e93df6428ace787c88c4c.tar.gz
cuberite-36fd78af35b49d64b97e93df6428ace787c88c4c.tar.bz2
cuberite-36fd78af35b49d64b97e93df6428ace787c88c4c.tar.lz
cuberite-36fd78af35b49d64b97e93df6428ace787c88c4c.tar.xz
cuberite-36fd78af35b49d64b97e93df6428ace787c88c4c.tar.zst
cuberite-36fd78af35b49d64b97e93df6428ace787c88c4c.zip
Diffstat (limited to 'src/BlockInfo.cpp')
-rw-r--r--src/BlockInfo.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/BlockInfo.cpp b/src/BlockInfo.cpp
index 195af49c7..399efcd9b 100644
--- a/src/BlockInfo.cpp
+++ b/src/BlockInfo.cpp
@@ -33,10 +33,7 @@ cBlockInfo::cBlockInfo()
cBlockInfo::~cBlockInfo()
{
- if (m_Handler != NULL)
- {
- delete m_Handler;
- }
+ delete m_Handler;
}