diff options
author | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2016-03-31 22:12:00 +0200 |
---|---|---|
committer | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2016-04-02 08:50:56 +0000 |
commit | f84c50243365f1a0d3cb3b70c2a5b4dbc4e31257 (patch) | |
tree | ebfa71a6221eafaa22c0b83ff600e410f6784e60 /tests/benchmarks/corelib | |
parent | f805d7075a86775eccb3a153ffe7e874b103ee4d (diff) |
QScrollerTimer: fix a memory leak
The QScrollerTimer instance allocated by QScrollerPrivate was never
freed. I've absolutely no idea why QScroller has such a messy
d-pointer handling, so go for the easiest approach: exploit the
fact that QScrollerPrivate is a QObject and parent the QScrollerTimer
to it.
Change-Id: I500edc9d0d14b2fb9eec02712229970eb2b9fe81
Task-number: QTBUG-52280
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
Diffstat (limited to 'tests/benchmarks/corelib')
0 files changed, 0 insertions, 0 deletions