HistoryTest 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 "Potential leak of memory pointed to by 'X' [clang-analyzer-cplusplus.NewDeleteLeaks]" and PVS-Studio V773.
Please register or sign in to comment