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/ItemGrid.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/ItemGrid.cpp')
-rw-r--r-- | src/ItemGrid.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ItemGrid.cpp b/src/ItemGrid.cpp index 34a267bab..cd36b1f2a 100644 --- a/src/ItemGrid.cpp +++ b/src/ItemGrid.cpp @@ -28,6 +28,7 @@ cItemGrid::cItemGrid(int a_Width, int a_Height) : cItemGrid::~cItemGrid() { delete[] m_Slots; + m_Slots = NULL; } |