diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2005-11-17 22:47:56 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2005-11-17 22:47:56 +0000 |
commit | 9a06d2ac953847d4b629dd5aeaa5cdec9e460a3a (patch) | |
tree | 27282da878163fdb7c399785cd0338efa3c7c6c3 /games/atomix/files/patch-theme-manager.c | |
parent | - Update to 2.2.7 (diff) |
Fix a crash on startup if ~/.atomix does not already exist.
Notes
Notes:
svn path=/head/; revision=148688
Diffstat (limited to '')
-rw-r--r-- | games/atomix/files/patch-theme-manager.c | 15 |
1 files changed, 15 insertions, 0 deletions
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) |