aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/maemo
diff options
context:
space:
mode:
Diffstat (limited to 'backends/platform/maemo')
-rw-r--r--backends/platform/maemo/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/platform/maemo/main.cpp b/backends/platform/maemo/main.cpp
index 4735ae30ed..9d8b0f2e84 100644
--- a/backends/platform/maemo/main.cpp
+++ b/backends/platform/maemo/main.cpp
@@ -44,7 +44,7 @@ int main(int argc, char* argv[]) {
int res = scummvm_main(argc, argv);
// Free OSystem
- delete (Maemo::OSystem_SDL_Maemo *)g_system;
+ g_system->destroy();
return res;
}