From 8c68e2488fe8fc1cca823b8338095260b736cccd Mon Sep 17 00:00:00 2001 From: rubidium Date: Wed, 15 Apr 2009 20:49:26 +0000 Subject: (svn r16066) -Fix: another memory leak. --- src/openttd.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src') 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; } -- cgit v1.2.3-70-g09d2