summaryrefslogtreecommitdiff
path: root/src/qml/compiler/qv4codegen.cpp
diff options
context:
space:
mode:
authorVal Doroshchuk <valentyn.doroshchuk@qt.io>2019-03-04 10:53:17 +0100
committerAapo Keskimolo <aapo.keskimolo@qt.io>2019-03-11 17:02:06 +0000
commita84acc963b6684e4aa91c4dff5acf47e5f6cd8d2 (patch)
tree3db9ca10a16b5052a2f206edfc7a87e8162b2783 /src/qml/compiler/qv4codegen.cpp
parentc911349b8bdcc7f798091eb6acd20395883b2000 (diff)
downloadqtdeclarative-a84acc963b6684e4aa91c4dff5acf47e5f6cd8d2.tar.gz
Fix leaking of QML QQuickItemGrabResult objects
If QQuickItem::grabToImage is called from QML, QQuickItemGrabResult is created but was never deleted. Adding a deleteLater() right after dispatching the callback ensures that QQuickItemGrabResult objects are deleted. Task-number: QTBUG-73723 Change-Id: Ifda85599098f2b679ae5f22e1d47a73962ed0a85 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'src/qml/compiler/qv4codegen.cpp')
0 files changed, 0 insertions, 0 deletions