diff options
Diffstat (limited to 'base/main.cpp')
| -rw-r--r-- | base/main.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/base/main.cpp b/base/main.cpp index 8b51db65bb..1d63578c63 100644 --- a/base/main.cpp +++ b/base/main.cpp @@ -262,11 +262,11 @@ static void runGame(GameDetector &detector, OSystem *system) { // Run the game engine engine->go(); - // Stop all sound processing now (this prevents some race conditions later on) - system->clearSoundCallback(); - // Free up memory delete engine; + + // Stop all sound processing now (this prevents some race conditions later on) + system->clearSoundCallback(); } #ifndef _WIN32_WCE |
