Fix memory leak

This commit is contained in:
Vladimir Kolesnikov 2013-02-10 15:41:39 +02:00
parent 49a43f2370
commit 4e2d1446dd

View File

@ -7,6 +7,7 @@ bool success = true;
void runTest(QObject *test) { void runTest(QObject *test) {
int retVal = QTest::qExec(test); int retVal = QTest::qExec(test);
delete test;
success &= retVal == 0; success &= retVal == 0;
} }