The result of QTest::createTouchDevice() needs to be deleted by the caller. The test function didn't, so leaked the object. Fix by holding it in unique_ptr. Amends 1ecf2212fae176b78c9951a37df9e33eb24d4f2d. Not picking to 5.15, because the cherry-pick of 1ecf2212fae176b78c9951a37df9e33eb24d4f2d to 5.15 was abandoned. Pick-to: 6.8 6.5 Change-Id: I649357466a51e02d669b114bdfa0746bfa09fe34 Reviewed-by: Axel Spoerl <axel.spoerl@qt.io> (cherry picked from commit 01ee8fd7b5c93cffaeb8624ed87f5dee36e9e5e6) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
…
…
Description
Languages
C++
84.3%
HTML
4.9%
C
3.9%
CMake
3.6%
Objective-C++
2%
Other
0.8%