From 24fe2f9f8e94e2a142bf0e17d7d03c5431eb0eab Mon Sep 17 00:00:00 2001 From: Michael Brasser Date: Thu, 23 Sep 2010 08:54:39 +1000 Subject: Properly cleanup in QDeclarativeModulePlugin test. --- .../qdeclarativemoduleplugin/tst_qdeclarativemoduleplugin.cpp | 1 + 1 file changed, 1 insertion(+) 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) -- cgit v0.12