summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2010-09-22 22:54:39 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2010-09-23 00:44:31 (GMT)
commit24fe2f9f8e94e2a142bf0e17d7d03c5431eb0eab (patch)
treef3670c0976c15964b7f9d541671f022b5eb02e9e /tests/auto/declarative
parent973b1643a9426d2a60bca9025fa02cb5d627ec28 (diff)
downloadQt-24fe2f9f8e94e2a142bf0e17d7d03c5431eb0eab.zip
Qt-24fe2f9f8e94e2a142bf0e17d7d03c5431eb0eab.tar.gz
Qt-24fe2f9f8e94e2a142bf0e17d7d03c5431eb0eab.tar.bz2
Properly cleanup in QDeclarativeModulePlugin test.
Diffstat (limited to 'tests/auto/declarative')
-rw-r--r--tests/auto/declarative/qdeclarativemoduleplugin/tst_qdeclarativemoduleplugin.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/declarative/qdeclarativemoduleplugin/tst_qdeclarativemoduleplugin.cpp b/tests/auto/declarative/qdeclarativemoduleplugin/tst_qdeclarativemoduleplugin.cpp
index 2081f0e..e1022e0 100644
--- a/tests/auto/declarative/qdeclarativemoduleplugin/tst_qdeclarativemoduleplugin.cpp
+++ b/tests/auto/declarative/qdeclarativemoduleplugin/tst_qdeclarativemoduleplugin.cpp
@@ -117,6 +117,7 @@ void tst_qdeclarativemoduleplugin::importsPlugin()
QObject *object = component.create();
QVERIFY(object != 0);
QCOMPARE(object->property("value").toInt(),123);
+ delete object;
}
QTEST_MAIN(tst_qdeclarativemoduleplugin)