diff options
Diffstat (limited to 'games/atomix/files')
-rw-r--r-- | games/atomix/files/patch-level-manager.c | 15 | ||||
-rw-r--r-- | games/atomix/files/patch-theme-manager.c | 15 |
2 files changed, 30 insertions, 0 deletions
diff --git a/games/atomix/files/patch-level-manager.c b/games/atomix/files/patch-level-manager.c new file mode 100644 index 000000000000..573ce8c66552 --- /dev/null +++ b/games/atomix/files/patch-level-manager.c @@ -0,0 +1,15 @@ +--- src/level-manager.c.orig Thu Nov 17 17:45:18 2005 ++++ src/level-manager.c Thu Nov 17 17:45:31 2005 +@@ -232,10 +232,10 @@ static void search_level_in_dir (LevelMa + g_free (levelname); + } + } ++ g_free (dent); ++ closedir (dir); + } + +- g_free (dent); +- closedir (dir); + } + + static gchar *lookup_level_name (gchar *filename) diff --git a/games/atomix/files/patch-theme-manager.c b/games/atomix/files/patch-theme-manager.c new file mode 100644 index 000000000000..185e64af8c57 --- /dev/null +++ b/games/atomix/files/patch-theme-manager.c @@ -0,0 +1,15 @@ +--- src/theme-manager.c.orig Thu Nov 17 17:43:33 2005 ++++ src/theme-manager.c Thu Nov 17 17:43:58 2005 +@@ -168,10 +168,10 @@ static void search_themes_in_dir (ThemeM + g_free (subdirpath); + } + } ++ g_free (dent); ++ closedir (dir); + } + +- g_free (dent); +- closedir (dir); + } + + static void add_theme (ThemeManager *tm, gchar *themename, gchar *dirpath) |