aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/particles/qquickcustomparticle
diff options
context:
space:
mode:
authorAlan Alpert <alan.alpert@nokia.com>2011-11-02 13:44:06 +1000
committerQt by Nokia <qt-info@nokia.com>2011-11-02 06:45:49 +0100
commit62af8d46b2d1b0bb1ef79e5a119bd05e5a83aad6 (patch)
tree7ad9efea1190e53153e8042411252581216737c2 /tests/auto/particles/qquickcustomparticle
parent1c394490f4efe6055426257a8dfcec4cdf3e12af (diff)
Delete view at end of test
Change-Id: I290536bd975e7e6f6f65cf964604664faf7d3056 Reviewed-by: Martin Jones <martin.jones@nokia.com>
Diffstat (limited to 'tests/auto/particles/qquickcustomparticle')
-rw-r--r--tests/auto/particles/qquickcustomparticle/tst_qquickcustomparticle.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/particles/qquickcustomparticle/tst_qquickcustomparticle.cpp b/tests/auto/particles/qquickcustomparticle/tst_qquickcustomparticle.cpp
index 9333ac4f2d..60977b2f49 100644
--- a/tests/auto/particles/qquickcustomparticle/tst_qquickcustomparticle.cpp
+++ b/tests/auto/particles/qquickcustomparticle/tst_qquickcustomparticle.cpp
@@ -86,6 +86,7 @@ void tst_qquickcustomparticle::test_basic()
if (d->r != 0.0 )
oneNonZero = true;
}
+ delete view;
QVERIFY(oneNonZero);//Zero is a valid value, but it also needs to be set to a random number
}