qt5base-lts/tests/auto/testlib/qabstractitemmodeltester
Marc Mutz 51edc438dd tst_QAbstractItemModelTester: fix mem-leak
QThreeWidgetItems that have been removed from their parents (or the
widget) must be deleted manually. The treeWidgetModel() test forgot
that, driving asan nuts.

Code predates the beginning of the public history, so picking to all
active branches.

Pick-to: 6.6 6.5 6.2 5.15
Change-Id: I139549b0bd8baf4abfb90f926f6290119471046f
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
2023-07-18 12:13:30 +02:00
..
.gitignore QAbstractItemModelTester: fix the autotests 2018-01-09 21:12:58 +00:00
CMakeLists.txt CMake: Make qtbase tests standalone projects 2023-07-05 15:09:32 +02:00
tst_qabstractitemmodeltester.cpp tst_QAbstractItemModelTester: fix mem-leak 2023-07-18 12:13:30 +02:00