From 97ae4a499aedfec4f1cbce0f621e112f7e70925f Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 7 Jan 2009 23:53:28 +0100 Subject: mapper: don't allocate music_dir twice --- src/mapper.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/mapper.c') diff --git a/src/mapper.c b/src/mapper.c index 06780588d..82551d2b2 100644 --- a/src/mapper.c +++ b/src/mapper.c @@ -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); -- cgit v1.2.3