diff options
author | Thierry Crozat | 2018-07-07 01:05:54 +0100 |
---|---|---|
committer | Thierry Crozat | 2018-10-14 21:25:33 +0100 |
commit | 941d22c047e1afb6b882114d2c7d3a1660cda5c0 (patch) | |
tree | 6299846cc73c3b3309029de47f6e372ecf10715a /backends/platform/sdl/posix | |
parent | 1e11da712ba8359cb65b0a171c7ce83de6a17879 (diff) | |
download | scummvm-rg350-941d22c047e1afb6b882114d2c7d3a1660cda5c0.tar.gz scummvm-rg350-941d22c047e1afb6b882114d2c7d3a1660cda5c0.tar.bz2 scummvm-rg350-941d22c047e1afb6b882114d2c7d3a1660cda5c0.zip |
BACKENDS: Use OSystem::destroy() instead of deleting directly the g_system instance
Diffstat (limited to 'backends/platform/sdl/posix')
-rw-r--r-- | backends/platform/sdl/posix/posix-main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/platform/sdl/posix/posix-main.cpp b/backends/platform/sdl/posix/posix-main.cpp index 92354b273e..7105ac69c3 100644 --- a/backends/platform/sdl/posix/posix-main.cpp +++ b/backends/platform/sdl/posix/posix-main.cpp @@ -45,7 +45,7 @@ int main(int argc, char *argv[]) { int res = scummvm_main(argc, argv); // Free OSystem - delete (OSystem_POSIX *)g_system; + g_system->destroy(); return res; } |