aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/nodes
diff options
context:
space:
mode:
authorAlex Montgomery <apmontgomery@gmail.com>2013-12-18 15:25:36 -0800
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-01-28 22:43:38 +0100
commite13547c595913c58e6bd6a5ed80fdc729fae7d47 (patch)
treec2b7432be8825c9588e3ce4233269daed0e80076 /tests/auto/quick/nodes
parenta1b6db4765d89b0081788e98dcdfdba5ed7fa121 (diff)
Fix leak-on-exit of QSGRenderLoop::s_instance
s_instance is created with new and never deleted which causes several destructors to never be called. Task-number: QTBUG-35731 Change-Id: Icccb19186958f8bb74c5fd2b4b41165255debc46 Reviewed-by: Gunnar Sletta <gunnar.sletta@jollamobile.com>
Diffstat (limited to 'tests/auto/quick/nodes')
-rw-r--r--tests/auto/quick/nodes/tst_nodestest.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/auto/quick/nodes/tst_nodestest.cpp b/tests/auto/quick/nodes/tst_nodestest.cpp
index 7c84cdb5cf..662e78ef6c 100644
--- a/tests/auto/quick/nodes/tst_nodestest.cpp
+++ b/tests/auto/quick/nodes/tst_nodestest.cpp
@@ -98,7 +98,6 @@ void NodesTest::initTestCase()
void NodesTest::cleanupTestCase()
{
renderContext->invalidate();
- delete renderContext;
context->doneCurrent();
delete context;
delete surface;