diff options
| author | Marc Mutz <marc.mutz@qt.io> | 2025-03-28 09:47:24 +0100 |
|---|---|---|
| committer | Marc Mutz <marc.mutz@qt.io> | 2025-03-29 08:20:57 +0100 |
| commit | 76e76afb83b87664aeeaf61b400e4259ce80f49a (patch) | |
| tree | a62e9c0a834ec0ced0d4d238ce3a961eb09cdf8b /src/corelib/thread/qthread.cpp | |
| parent | 235fe36de7d8789cf6f5a393df01337a59874901 (diff) | |
tst_QGraphicsWidget: fix memleak in qgraphicswidget()
The QGraphicsWidget `parent` didn't have a parent itself, and the test
function neglected to delete the object manually, leaking it.
To fix, allocate it on the stack.
Amends the start of the public history.
Pick-to: 6.9 6.8 6.5 5.15
Change-Id: Ie9814655c1a52b6dc0d15076eca591fe710d51ae
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
Diffstat (limited to 'src/corelib/thread/qthread.cpp')
0 files changed, 0 insertions, 0 deletions
