diff options
author | Kirill Burtsev <kirill.burtsev@qt.io> | 2018-11-13 13:38:15 +0100 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2018-11-14 10:24:47 +0000 |
commit | e746e55f2451a800744ccfcbc9f83fdc3a16337c (patch) | |
tree | f975639f38e89da74de64bfd47b6730720e45500 /src/plugins/scenegraph/openvg/qsgopenvgrenderloop.cpp | |
parent | 064f0d3d23097cb181166c3e966287490773f23c (diff) |
Fix leaking resources by OpenVG scene graph backend
Change-Id: I4e67c639d8343e39673ef5ea08bda7af033fb19f
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
Diffstat (limited to 'src/plugins/scenegraph/openvg/qsgopenvgrenderloop.cpp')
-rw-r--r-- | src/plugins/scenegraph/openvg/qsgopenvgrenderloop.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/scenegraph/openvg/qsgopenvgrenderloop.cpp b/src/plugins/scenegraph/openvg/qsgopenvgrenderloop.cpp index 9493920100..c41dfd7400 100644 --- a/src/plugins/scenegraph/openvg/qsgopenvgrenderloop.cpp +++ b/src/plugins/scenegraph/openvg/qsgopenvgrenderloop.cpp @@ -43,6 +43,7 @@ #include <QtCore/QCoreApplication> #include <QtCore/QElapsedTimer> +#include <private/qquickanimatorcontroller_p.h> #include <private/qquickwindow_p.h> #include <private/qquickprofiler_p.h> @@ -94,6 +95,8 @@ void QSGOpenVGRenderLoop::windowDestroyed(QQuickWindow *window) } else if (vg && window == vg->window()) { vg->doneCurrent(); } + + delete d->animationController; } void QSGOpenVGRenderLoop::exposureChanged(QQuickWindow *window) |