Fixed memory leak in IpcReader.cpp

This commit is contained in:
Cédric Picard 2015-07-17 23:55:36 +02:00 committed by Andrew Nelless
parent d34a59a984
commit 11d5691bca
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ void IpcReader::read()
char* data = new char[len]; char* data = new char[len];
readStream(data, len); readStream(data, len);
QString line = QString::fromUtf8(data, len); QString line = QString::fromUtf8(data, len);
delete data; delete[] data;
readLogLine(line); readLogLine(line);
} }