From 4e2d1446dda4bee6842d232dc9aab559152f7002 Mon Sep 17 00:00:00 2001 From: Vladimir Kolesnikov Date: Sun, 10 Feb 2013 15:41:39 +0200 Subject: [PATCH] Fix memory leak --- test/main.cpp | 1 + 1 file changed, 1 insertion(+) 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; }