changeset 734:9a5075ce88a8 trunk

[svn] - revert this
author nenolod
date Mon, 27 Feb 2006 15:54:47 -0800
parents 3c2bb116f4db
children 35e19f8de781
files audacious/main.c
diffstat 1 files changed, 1 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/audacious/main.c	Mon Feb 27 15:43:15 2006 -0800
+++ b/audacious/main.c	Mon Feb 27 15:54:47 2006 -0800
@@ -411,11 +411,7 @@
 static void
 bmp_init_paths(void)
 {
-    gchar *home_dir = g_get_home_dir();
-
-    bmp_paths[BMP_PATH_USER_DIR] = g_build_filename(home_dir, BMP_RCPATH, NULL);
-
-    g_free(home_dir);
+    bmp_paths[BMP_PATH_USER_DIR] = g_build_filename(g_get_home_dir(), BMP_RCPATH, NULL);
 
     bmp_paths[BMP_PATH_USER_PLUGIN_DIR] = USER_PATH(BMP_USER_PLUGIN_DIR_BASENAME);
     bmp_paths[BMP_PATH_USER_SKIN_DIR] = USER_PATH(BMP_SKIN_DIR_BASENAME);