Skip to content

TerminalTest fix potential leak of memory

The "return" in "#define QCOMPARE(actual, expected)" does not allow us to delete the new-ed objects. This raises clangd "konsole/src/autotests/TerminalTest.cpp:28:5: Potential leak of memory pointed to by 'display' [clang-analyzer-cplusplus.NewDeleteLeaks]" and PVS-Studio V773.

Edited by Marius Pa

Merge request reports