diff options
-rw-r--r-- | src/openttd.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/openttd.cpp b/src/openttd.cpp index 2d0bf65a9..367f5175a 100644 --- a/src/openttd.cpp +++ b/src/openttd.cpp @@ -702,6 +702,12 @@ int ttd_main(int argc, char *argv[]) /* Reset windowing system, stop drivers, free used memory, ... */ ShutdownGame(); + free(graphics_set); + free(musicdriver); + free(sounddriver); + free(videodriver); + free(blitter); + return 0; } |