summaryrefslogtreecommitdiffstats
path: root/src/corelib/thread/qfutureinterface.cpp
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@qt.io>2023-07-17 17:40:31 +0200
committerMarc Mutz <marc.mutz@qt.io>2023-07-19 04:51:26 +0000
commit65647d54b9fddb0b0e3238024d79e12e4bf53295 (patch)
treeae8e2c47cfa024135966c7de79500e438e842bef /src/corelib/thread/qfutureinterface.cpp
parentb3930b03cd6519db068bf0fca45d3e32ff7ce2df (diff)
tst_QSortFilterProxyModel: fix mem-leaks II: sortStable()
Like in 9f8449a054a165ae560c91d3e31409bc293df80d, for doubleProxySelectionSetSourceModel(), the sortStable() test also leaked _everything_. Fix in the same way, by allocating model and view on the stack intead of the heap. With this patch, tst_QSortFilterProxyModel is now asan-, but not ubsan-clean (and, because of https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110704, asan still reports a leak in cp-demangle.c, which should be™ gone once we fix the rest of QTBUG-99563). Pick-to: 6.6 6.5 6.2 5.15 Task-number: QTBUG-115264 Change-Id: Ic0e833d7336435e324457f9d9667ee8573a7dafc Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
Diffstat (limited to 'src/corelib/thread/qfutureinterface.cpp')
0 files changed, 0 insertions, 0 deletions