summaryrefslogtreecommitdiffstats
path: root/sigbattle
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2009-03-27 23:41:38 -0400
committerBen Boeckel <MathStuf@gmail.com>2009-03-27 23:41:38 -0400
commit592d8af16295a8e308f65f142db11d34a7416509 (patch)
tree9b1e25ed607f02d7dbb91d04479d4c7b7883d0ac /sigbattle
parentb50818a764787de0f157c91906f0306e9e0c0db4 (diff)
downloadsigen-592d8af16295a8e308f65f142db11d34a7416509.tar.gz
sigen-592d8af16295a8e308f65f142db11d34a7416509.tar.xz
sigen-592d8af16295a8e308f65f142db11d34a7416509.zip
Clean up the application
Diffstat (limited to 'sigbattle')
-rw-r--r--sigbattle/Sigbattle.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/sigbattle/Sigbattle.cpp b/sigbattle/Sigbattle.cpp
index 0849ea9d..dbed56d9 100644
--- a/sigbattle/Sigbattle.cpp
+++ b/sigbattle/Sigbattle.cpp
@@ -76,6 +76,8 @@ int main(int argc, char* argv[])
// SigbattleUI* mainWindow = new SigbattleUI;
// mainWindow->show();
- app->exec();
- return 0;
+ int result = app->exec();
+
+ delete app;
+ return result;
}