mapper: don't allocate music_dir twice

This commit is contained in:
Max Kellermann 2009-01-07 23:53:28 +01:00
parent 7f34e9410e
commit 97ae4a499a

View File

@ -58,7 +58,6 @@ void mapper_init(void)
g_error("config parameter \"%s\" not found\n", CONF_MUSIC_DIR);
}
music_dir = g_strdup(music_dir_param->value);
music_dir_length = strlen(music_dir);
ret = stat(music_dir, &st);