Commit 97ae4a49 authored by Max Kellermann's avatar Max Kellermann

mapper: don't allocate music_dir twice

parent 7f34e941
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment