From 2c9e187189af11f59bb7026d2304536b8356c3a6 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Thu, 25 Oct 2012 19:20:29 +0000 Subject: Fixed up a few valgrind warnings ( http://forum.mc-server.org/showthread.php?tid=598&pid=5071#pid5071 ) git-svn-id: http://mc-server.googlecode.com/svn/trunk@1010 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/ByteBuffer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/ByteBuffer.cpp') 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; } -- cgit v1.2.3