summaryrefslogtreecommitdiffstats
path: root/source/ByteBuffer.cpp
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-10-25 21:20:29 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-10-25 21:20:29 +0200
commit2c9e187189af11f59bb7026d2304536b8356c3a6 (patch)
tree6f5402ccc6db8e6637a1f8b2902595762405d733 /source/ByteBuffer.cpp
parentDebug filename has a "_debug" appended to it, so that it's different from the release version. (diff)
downloadcuberite-2c9e187189af11f59bb7026d2304536b8356c3a6.tar
cuberite-2c9e187189af11f59bb7026d2304536b8356c3a6.tar.gz
cuberite-2c9e187189af11f59bb7026d2304536b8356c3a6.tar.bz2
cuberite-2c9e187189af11f59bb7026d2304536b8356c3a6.tar.lz
cuberite-2c9e187189af11f59bb7026d2304536b8356c3a6.tar.xz
cuberite-2c9e187189af11f59bb7026d2304536b8356c3a6.tar.zst
cuberite-2c9e187189af11f59bb7026d2304536b8356c3a6.zip
Diffstat (limited to 'source/ByteBuffer.cpp')
-rw-r--r--source/ByteBuffer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/ByteBuffer.cpp b/source/ByteBuffer.cpp
index 9ab1e4ca0..912f562f0 100644
--- a/source/ByteBuffer.cpp
+++ b/source/ByteBuffer.cpp
@@ -39,7 +39,7 @@ cByteBuffer::cByteBuffer(int a_BufferSize) :
cByteBuffer::~cByteBuffer()
{
- delete m_Buffer;
+ delete[] m_Buffer;
}