Skip to content

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.

Edited by Marius Pa

Merge request reports