summaryrefslogtreecommitdiffstats
path: root/main.cpp
diff options
context:
space:
mode:
authorHugo Lima <hugo.lima@openbossa.org>2009-11-18 11:24:51 -0200
committerMarcelo Lira <marcelo.lira@openbossa.org>2009-11-18 13:54:52 -0300
commit36b122bc1699f37f0354ce62e8de8e7ab866703b (patch)
tree47a2d1eae3b1f036ab6f2ed6a4c8c8bf2d39b058 /main.cpp
parentf2b81bc077d6bdec8d846db0f7a7e28e6472894d (diff)
downloadgeneratorrunner-36b122bc1699f37f0354ce62e8de8e7ab866703b.tar.gz
generatorrunner-36b122bc1699f37f0354ce62e8de8e7ab866703b.tar.xz
generatorrunner-36b122bc1699f37f0354ce62e8de8e7ab866703b.zip
Delete all generators at exit.
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.cpp b/main.cpp
index b251b0c..af06093 100644
--- a/main.cpp
+++ b/main.cpp
@@ -212,6 +212,7 @@ int main(int argc, char *argv[])
if (g->setup(extractor, args))
g->generate();
}
+ qDeleteAll(generators);
std::cout << "Done, " << ReportHandler::warningCount();
std::cout << " warnings (" << ReportHandler::suppressedCount() << " known issues)";