This commit is contained in:
Mike Burns 2011-06-29 15:13:55 -04:00
commit 8cfb09ee4c
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ void Connection::readDataBlock() {
buffer[m_expectingDataSize] = 0; buffer[m_expectingDataSize] = 0;
processNext(buffer); processNext(buffer);
m_expectingDataSize = -1; m_expectingDataSize = -1;
delete buffer; delete[] buffer;
} }
void Connection::processNext(const char *data) { void Connection::processNext(const char *data) {