aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/nodes/tst_nodestest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/quick/nodes/tst_nodestest.cpp')
-rw-r--r--tests/auto/quick/nodes/tst_nodestest.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/auto/quick/nodes/tst_nodestest.cpp b/tests/auto/quick/nodes/tst_nodestest.cpp
index d07fd7177d..7c84cdb5cf 100644
--- a/tests/auto/quick/nodes/tst_nodestest.cpp
+++ b/tests/auto/quick/nodes/tst_nodestest.cpp
@@ -3,7 +3,7 @@
** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
-** This file is part of the Qt scene graph research project.
+** This file is part of the test suite of the Qt toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage
@@ -97,6 +97,8 @@ void NodesTest::initTestCase()
void NodesTest::cleanupTestCase()
{
+ renderContext->invalidate();
+ delete renderContext;
context->doneCurrent();
delete context;
delete surface;