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/Protocol/ProtocolRecognizer.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 'src/Protocol/ProtocolRecognizer.cpp')
-rw-r--r-- | src/Protocol/ProtocolRecognizer.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Protocol/ProtocolRecognizer.cpp b/src/Protocol/ProtocolRecognizer.cpp index 35a331f43..80f5da25a 100644 --- a/src/Protocol/ProtocolRecognizer.cpp +++ b/src/Protocol/ProtocolRecognizer.cpp @@ -37,6 +37,7 @@ cProtocolRecognizer::cProtocolRecognizer(cClientHandle * a_Client) : cProtocolRecognizer::~cProtocolRecognizer() { delete m_Protocol; + m_Protocol = NULL; } |