diff --git a/test/main.cpp b/test/main.cpp index 430c185..7ee90a2 100644 --- a/test/main.cpp +++ b/test/main.cpp @@ -7,6 +7,7 @@ bool success = true; void runTest(QObject *test) { int retVal = QTest::qExec(test); + delete test; success &= retVal == 0; }