Avoid memory leak in tst_qquicklistview

Change-Id: I74733325cdd81aa304c2e55acb257b1dbdb1300d
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
This commit is contained in:
Ulf Hermann 2021-08-17 14:21:41 +02:00
parent 8cd7aabfb2
commit 7c60fc811e
1 changed files with 1 additions and 0 deletions

View File

@ -72,6 +72,7 @@ class tst_QQuickListView : public QQmlDataTest
Q_OBJECT
public:
tst_QQuickListView();
~tst_QQuickListView() { delete touchDevice; }
private slots:
// WARNING: please add new tests to tst_qquicklistview2; this file is too slow to work with.