Commit 24a7726e authored by Kurt Hindenburg's avatar Kurt Hindenburg

correct delete lines

parent 92d1a56f
......@@ -81,7 +81,7 @@ void TerminalCharacterDecoderTest::testPlainTextDecoder()
decoder->decodeLine(testCharacters, text.size(), /* ignored */ LINE_DEFAULT);
decoder->end();
QCOMPARE(outputString, result);
delete testCharacters;
delete[] testCharacters;
delete decoder;
}
......@@ -117,7 +117,7 @@ void TerminalCharacterDecoderTest::testHTMLDecoder()
decoder->decodeLine(testCharacters, text.size(), /* ignored */ LINE_DEFAULT);
decoder->end();
QCOMPARE(outputString, result);
delete testCharacters;
delete[] testCharacters;
delete decoder;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment