diff options
author | andrew <xdotftw@gmail.com> | 2014-03-02 21:55:14 +0100 |
---|---|---|
committer | andrew <xdotftw@gmail.com> | 2014-03-02 21:55:14 +0100 |
commit | 36fd78af35b49d64b97e93df6428ace787c88c4c (patch) | |
tree | c180208ae9759403cc29c4784103569793e6cc63 /src/BlockInfo.cpp | |
parent | cBlockInfo now manages the respective cBlockHandler (diff) | |
download | cuberite-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.cpp | 5 |
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; } |