diff options
-rw-r--r-- | knights/io_engine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/knights/io_engine.cpp b/knights/io_engine.cpp index 1ecb2cc..8b3afc7 100644 --- a/knights/io_engine.cpp +++ b/knights/io_engine.cpp @@ -229,7 +229,7 @@ void io_engine::Recv( TDEProcess*, char *buffer, int bufLen ) strncpy( newBuff, buffer, bufLen ); newBuff[bufLen] = 0; FIFO_In += newBuff; - delete newBuff; + delete[] newBuff; if( FIFO_In.contains( TQChar('\n') ) ) { |