aboutsummaryrefslogtreecommitdiffstats
path: root/src/menu/application.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/menu/application.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/menu/application.cpp b/src/menu/application.cpp
index f4802220..f9be797f 100644
--- a/src/menu/application.cpp
+++ b/src/menu/application.cpp
@@ -81,6 +81,12 @@ namespace usdx
return instance;
}
+ void Application::free(void)
+ {
+ delete instance;
+ instance = NULL;
+ }
+
Config* Application::get_config(void)
{
return get_instance()->config;