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

View File

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